add-test-for-kubeadm-etcd-deployment (#9007)

This commit is contained in:
Kay Yan 2022-07-05 22:58:47 +08:00 committed by GitHub
parent f3ea8cf45e
commit adfd77f11d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 2 deletions

View file

@ -289,6 +289,11 @@ packet_almalinux8-calico-remove-node:
REMOVE_NODE_CHECK: "true" REMOVE_NODE_CHECK: "true"
REMOVE_NODE_NAME: "instance-3" REMOVE_NODE_NAME: "instance-3"
packet_ubuntu20-calico-etcd-kubeadm:
stage: deploy-part3
extends: .packet_pr
when: on_success
packet_debian11-calico-upgrade-once: packet_debian11-calico-upgrade-once:
stage: deploy-part3 stage: deploy-part3
extends: .packet_periodic extends: .packet_periodic

View file

@ -3,8 +3,8 @@
cloud_image: ubuntu-2004 cloud_image: ubuntu-2004
mode: ha mode: ha
# use the legacy setting to test the upgrade # use the kubeadm etcd setting to test the upgrade
etcd_kubeadm_enabled: true etcd_deployment_type: kubeadm
upgrade_cluster_setup: true upgrade_cluster_setup: true

View file

@ -0,0 +1,11 @@
---
# Instance settings
cloud_image: ubuntu-2004
mode: default
# use the kubeadm etcd setting to test the upgrade
etcd_deployment_type: kubeadm
# 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