kubeasz/playbooks/03.runtime.yml

8 lines
209 B
YAML
Raw Normal View History

2020-12-30 11:25:54 +08:00
# to install a container runtime
2019-05-18 16:48:58 +08:00
- hosts:
- kube_master
- kube_node
2019-05-18 16:48:58 +08:00
roles:
2020-12-30 11:25:54 +08:00
- { role: docker, when: "CONTAINER_RUNTIME == 'docker'" }
- { role: containerd, when: "CONTAINER_RUNTIME == 'containerd'" }