2017-04-03 21:50:17 +08:00
|
|
|
---
|
|
|
|
- name: "Pre-upgrade | copy /var/lib/cni from kubelet"
|
|
|
|
command: docker cp kubelet:/var/lib/cni /var/lib/cni
|
|
|
|
args:
|
|
|
|
creates: "/var/lib/cni"
|
|
|
|
failed_when: false
|
2017-08-21 15:53:49 +08:00
|
|
|
|
|
|
|
- name: "Pre-upgrade | ensure kubelet container is stopped if using host deployment"
|
|
|
|
command: docker stop kubelet
|
|
|
|
failed_when: false
|
2017-10-05 15:43:04 +08:00
|
|
|
when: kubelet_deployment_type == 'host'
|