Browse Source
Merge pull request #2971 from elementyang/calico-pr
change create to apply
pull/2956/merge
Rong Zhang
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
roles/network_plugin/calico/tasks/main.yml
|
@ -113,7 +113,7 @@ |
|
|
"apiVersion": "v1", |
|
|
"apiVersion": "v1", |
|
|
"metadata": {"cidr": "{{ kube_pods_subnet }}"} |
|
|
"metadata": {"cidr": "{{ kube_pods_subnet }}"} |
|
|
}' |
|
|
}' |
|
|
| {{ bin_dir }}/calicoctl create -f - |
|
|
|
|
|
|
|
|
| {{ bin_dir }}/calicoctl apply -f - |
|
|
environment: |
|
|
environment: |
|
|
NO_DEFAULT_POOLS: true |
|
|
NO_DEFAULT_POOLS: true |
|
|
run_once: true |
|
|
run_once: true |
|
|