mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-01 01:28:11 -03:30
Install calico-plugin before running calico
This commit is contained in:
@@ -11,3 +11,16 @@
|
||||
mode=0755
|
||||
notify:
|
||||
- restart kubelet
|
||||
|
||||
- name: Calico-plugin | Directory
|
||||
file: path=/usr/libexec/kubernetes/kubelet-plugins/net/exec/calico/ state=directory
|
||||
when: kube_network_plugin == "calico"
|
||||
|
||||
- name: Calico-plugin | Binary
|
||||
copy:
|
||||
src={{ local_release_dir }}/calico/bin/calico
|
||||
dest=/usr/libexec/kubernetes/kubelet-plugins/net/exec/calico/calico
|
||||
mode=0755
|
||||
when: kube_network_plugin == "calico"
|
||||
notify:
|
||||
- restart kubelet
|
||||
Reference in New Issue
Block a user