mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-20 02:17:44 -02:30
[2.23] Fix calico-node in etcd mode (#10768)
* CI: Document the 'all-in-one' layout + small refactoring (#10725) * Rename aio to all-in-one and document it ADTM. Acronyms don't tell much. * Refactor vm_count in tests provisioning * Add test case for calico using etcd datastore (#10722) * Add multinode ci layout * Add test case for calico using etcd datastore * Fix calico-node in etcd mode (#10438) * Calico : add ETCD endpoints to install-cni container * Calico : remove nodename from configmap in etcd mode --------- Co-authored-by: Olivier Levitt <olivier.levitt@gmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{% set node1 = gce.instance_data[0].name %}
|
||||
{{node1}} ansible_ssh_host={{gce.instance_data[0].public_ip}}
|
||||
{% if mode != "aio" %}
|
||||
{% if mode != "all-in-one" %}
|
||||
{% set node2 = gce.instance_data[1].name %}
|
||||
{{node2}} ansible_ssh_host={{gce.instance_data[1].public_ip}}
|
||||
{% endif %}
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
[etcd]
|
||||
{{node1}}
|
||||
{% elif mode == "aio" %}
|
||||
{% elif mode == "all-in-one" %}
|
||||
[kube_control_plane]
|
||||
{{node1}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user