mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-12 02:20:01 -03:30
* rename ansible groups to use _ instead of -
k8s-cluster -> k8s_cluster
k8s-node -> k8s_node
calico-rr -> calico_rr
no-floating -> no_floating
Note: kube-node,k8s-cluster groups in upgrade CI
need clean-up after v2.16 is tagged
* ensure old groups are mapped to the new ones
30 lines
469 B
Django/Jinja
30 lines
469 B
Django/Jinja
node1 ansible_ssh_host={{ec2.instances[0].public_ip}} ansible_ssh_user={{ssh_user}}
|
|
node2 ansible_ssh_host={{ec2.instances[1].public_ip}} ansible_ssh_user={{ssh_user}}
|
|
node3 ansible_ssh_host={{ec2.instances[2].public_ip}} ansible_ssh_user={{ssh_user}}
|
|
|
|
[kube_control_plane]
|
|
node1
|
|
node2
|
|
|
|
[kube_node]
|
|
node1
|
|
node2
|
|
node3
|
|
|
|
[etcd]
|
|
node1
|
|
node2
|
|
|
|
[k8s_cluster:children]
|
|
kube_node
|
|
kube_control_plane
|
|
calico_rr
|
|
|
|
[calico_rr]
|
|
|
|
[broken_kube_control_plane]
|
|
node2
|
|
|
|
[broken_etcd]
|
|
node2
|