[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:
Max Gautier
2024-01-12 04:11:00 +01:00
committed by GitHub
parent 20a9e20c5a
commit 3d76c30354
19 changed files with 88 additions and 30 deletions

View File

@@ -1,4 +1,4 @@
---
# Instance settings
cloud_image: amazon-linux-2
mode: aio
mode: all-in-one

View File

@@ -1,7 +1,7 @@
---
# Instance settings
cloud_image: ubuntu-2004
mode: aio
mode: all-in-one
# Kubespray settings
auto_renew_certificates: true

View File

@@ -1 +0,0 @@
packet_ubuntu20-calico-aio.yml

View File

@@ -0,0 +1 @@
packet_ubuntu20-calico-all-in-one.yml

View File

@@ -1,7 +1,7 @@
---
# Instance settings
cloud_image: ubuntu-2004
mode: aio
mode: all-in-one
# Kubespray settings
auto_renew_certificates: true

View File

@@ -1,7 +1,7 @@
---
# Instance settings
cloud_image: ubuntu-2004
mode: aio
mode: all-in-one
# Kubespray settings
auto_renew_certificates: true

View File

@@ -1,7 +1,7 @@
---
# Instance settings
cloud_image: ubuntu-2204
mode: aio
mode: all-in-one
vm_memory: 1600Mi
# Kubespray settings

View File

@@ -1,7 +1,7 @@
---
# Instance settings
cloud_image: ubuntu-2204
mode: aio
mode: all-in-one
vm_memory: 1600Mi
# Kubespray settings

View File

@@ -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"