c12s-kubespray/upgrade-cluster.yml

33 lines
800 B
YAML
Raw Normal View History

2016-12-09 18:44:52 +00:00
---
- hosts: all
any_errors_fatal: true
gather_facts: true
- hosts: all:!network-storage
any_errors_fatal: true
roles:
- { role: kubernetes/preinstall, tags: preinstall }
- hosts: etcd:!k8s-cluster
any_errors_fatal: true
serial: 1
roles:
- { role: etcd, tags: etcd }
- hosts: kube-node
any_errors_fatal: true
serial: 1
roles:
- { role: etcd, tags: etcd }
- { role: upgrade/pre-upgrade, tags: upgrade/pre-upgrade }
- { role: kubernetes/node, tags: node }
- { role: network_plugin, tags: network }
- { role: upgrade/post-upgrade, tags: upgrade/post-upgrade }
- hosts: kube-master
any_errors_fatal: true
serial: 1
roles:
- { role: etcd, tags: etcd }
- { role: kubernetes/node, tags: node }
- { role: kubernetes/master, tags: master }