From e94f4a64161f24ca0bfff0951c6b1bfeefef3793 Mon Sep 17 00:00:00 2001 From: Max Gautier Date: Thu, 14 Dec 2023 13:56:02 +0100 Subject: [PATCH] Add test case for calico using etcd datatstore --- .gitlab-ci/packet.yml | 5 ++++ ...ket_ubuntu22-calico-etcd-datastore-aio.yml | 29 +++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 tests/files/packet_ubuntu22-calico-etcd-datastore-aio.yml diff --git a/.gitlab-ci/packet.yml b/.gitlab-ci/packet.yml index d7f44f27d1d..aeb9a6e1d62 100644 --- a/.gitlab-ci/packet.yml +++ b/.gitlab-ci/packet.yml @@ -61,6 +61,11 @@ packet_ubuntu22-calico-aio: extends: .packet_pr when: on_success +packet_ubuntu22-calico-etcd-datastore-aio: + stage: deploy-part2 + extends: .packet_pr + when: on_success + packet_centos7-flannel-addons-ha: extends: .packet_pr stage: deploy-part2 diff --git a/tests/files/packet_ubuntu22-calico-etcd-datastore-aio.yml b/tests/files/packet_ubuntu22-calico-etcd-datastore-aio.yml new file mode 100644 index 00000000000..1b4418e09dd --- /dev/null +++ b/tests/files/packet_ubuntu22-calico-etcd-datastore-aio.yml @@ -0,0 +1,29 @@ +--- +# Instance settings +cloud_image: ubuntu-2204 +mode: aio +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"