mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-17 19:20:10 -03:30
combine bootstrap options, add xenial support
This commit is contained in:
11
cluster.yml
11
cluster.yml
@@ -1,13 +1,19 @@
|
||||
---
|
||||
- hosts: all
|
||||
gather_facts: true
|
||||
gather_facts: false
|
||||
roles:
|
||||
- bootstrap-os
|
||||
tags:
|
||||
- bootstrap-os
|
||||
|
||||
- hosts: etcd:!k8s-cluster
|
||||
gather_facts: true
|
||||
roles:
|
||||
- { role: kubernetes/preinstall, tags: preinstall }
|
||||
- { role: etcd, tags: etcd }
|
||||
|
||||
- hosts: k8s-cluster
|
||||
gather_facts: true
|
||||
roles:
|
||||
- { role: kubernetes/preinstall, tags: preinstall }
|
||||
- { role: etcd, tags: etcd }
|
||||
@@ -15,14 +21,17 @@
|
||||
- { role: network_plugin, tags: network }
|
||||
|
||||
- hosts: kube-master
|
||||
gather_facts: true
|
||||
roles:
|
||||
- { role: kubernetes/preinstall, tags: preinstall }
|
||||
- { role: kubernetes/master, tags: master }
|
||||
|
||||
- hosts: k8s-cluster
|
||||
gather_facts: true
|
||||
roles:
|
||||
- { role: dnsmasq, tags: dnsmasq }
|
||||
|
||||
- hosts: kube-master[0]
|
||||
gather_facts: true
|
||||
roles:
|
||||
- {role: kubernetes-apps, tags: apps}
|
||||
|
||||
Reference in New Issue
Block a user