-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 <[email protected]>
- Loading branch information
Showing
19 changed files
with
88 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
_vm_count_dict: | ||
separate: 3 | ||
separate-scale: 3 | ||
ha: 3 | ||
ha-scale: 3 | ||
ha-recover: 3 | ||
ha-recover-noquorum: 3 | ||
all-in-one: 1 | ||
multinode: 3 | ||
default: 2 | ||
|
||
vm_count: "{{ _vm_count_dict[mode | d('default')] }}" |
2 changes: 1 addition & 1 deletion
2
tests/files/packet_amazon-linux-2-aio.yml → ...iles/packet_amazon-linux-2-all-in-one.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
--- | ||
# Instance settings | ||
cloud_image: amazon-linux-2 | ||
mode: aio | ||
mode: all-in-one |
2 changes: 1 addition & 1 deletion
2
tests/files/packet_ubuntu20-aio-docker.yml → ...les/packet_ubuntu20-all-in-one-docker.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
packet_ubuntu20-calico-all-in-one.yml |
2 changes: 1 addition & 1 deletion
2
.../packet_ubuntu20-calico-aio-hardening.yml → ..._ubuntu20-calico-all-in-one-hardening.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/files/packet_ubuntu20-calico-aio.yml → ...les/packet_ubuntu20-calico-all-in-one.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/files/packet_ubuntu22-aio-docker.yml → ...les/packet_ubuntu22-all-in-one-docker.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/files/packet_ubuntu22-calico-aio.yml → ...les/packet_ubuntu22-calico-all-in-one.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
# Instance settings | ||
cloud_image: ubuntu-2204 | ||
mode: multinode | ||
vm_memory: 1600Mi | ||
|
||
# Kubespray settings | ||
auto_renew_certificates: true | ||
|
||
# Currently ipvs not available on KVM: https://packages.ubuntu.com/search?suite=focal&arch=amd64&mode=exactfilename&searchon=contents&keywords=ip_vs_sh.ko | ||
kube_proxy_mode: iptables | ||
enable_nodelocaldns: False | ||
|
||
containerd_registries: | ||
"docker.io": "https://mirror.gcr.io" | ||
|
||
containerd_registries_mirrors: | ||
- prefix: docker.io | ||
mirrors: | ||
- host: https://mirror.gcr.io | ||
capabilities: ["pull", "resolve"] | ||
skip_verify: false | ||
- prefix: 172.19.16.11:5000 | ||
mirrors: | ||
- host: http://172.19.16.11:5000 | ||
capabilities: ["pull", "resolve", "push"] | ||
skip_verify: true | ||
|
||
calico_datastore: "etcd" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters