6027290bc4
Creating the unit using default settings early on and then changing it during network_plugin section leads to too many docker restarts and duplicated code. Reversed Wants= dependence on docker.service so it does not restart docker when reloading systemd Consolidated all docker restart handlers.
9 lines
250 B
YAML
9 lines
250 B
YAML
---
|
|
dependencies:
|
|
- role: network_plugin/calico
|
|
when: kube_network_plugin == 'calico'
|
|
- role: network_plugin/flannel
|
|
when: kube_network_plugin == 'flannel'
|
|
- role: network_plugin/weave
|
|
when: kube_network_plugin == 'weave'
|
|
- role: docker
|