|
|
@ -120,7 +120,7 @@ |
|
|
|
- name: Pulling new container images |
|
|
|
- name: Pulling new container images |
|
|
|
shell: "kubeadm config images pull" |
|
|
|
shell: "kubeadm config images pull" |
|
|
|
- name: Apply upgrade for masters |
|
|
|
- name: Apply upgrade for masters |
|
|
|
shell: "sudo kubeadm upgrade node -y >> /etc/kubernetes/upgrade_ops_{{ K8S_SOURCE_VERSION}}_{{ K8S_TARGET_VERSION}}" |
|
|
|
shell: "sudo kubeadm upgrade node >> /etc/kubernetes/upgrade_ops_{{ K8S_SOURCE_VERSION}}_{{ K8S_TARGET_VERSION}}" |
|
|
|
args: |
|
|
|
args: |
|
|
|
creates: /etc/kubernetes/upgrade_ops_{{ K8S_SOURCE_VERSION}}_{{ K8S_TARGET_VERSION}} |
|
|
|
creates: /etc/kubernetes/upgrade_ops_{{ K8S_SOURCE_VERSION}}_{{ K8S_TARGET_VERSION}} |
|
|
|
- name: Unhold kubelet |
|
|
|
- name: Unhold kubelet |
|
|
|