mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-15 18:20:02 -03:30
Fix upgrade for all daemonset type resources
Daemonsets cannot be simply upgraded through a single API call, regardless of any kubectl documentation. The resource must be purged and then recreated in order to make any changes.
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
template:
|
||||
src: canal-node.yml.j2
|
||||
dest: "{{kube_config_dir}}/canal-node.yaml"
|
||||
register: canal_node_manifest
|
||||
|
||||
- name: Canal | Copy cni plugins from hyperkube
|
||||
command: "{{ docker_bin_dir }}/docker run --rm -v /opt/cni/bin:/cnibindir {{ hyperkube_image_repo }}:{{ hyperkube_image_tag }} /usr/bin/rsync -a /opt/cni/bin/ /cnibindir/"
|
||||
|
||||
Reference in New Issue
Block a user