Browse Source

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

pull/9059/head
Kay Yan 2 years ago
committed by GitHub
parent
commit
adfd77f11d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 2 deletions
  1. 5
      .gitlab-ci/packet.yml
  2. 4
      tests/files/packet_ubuntu20-calico-etcd-kubeadm-upgrade-ha.yml
  3. 11
      tests/files/packet_ubuntu20-calico-etcd-kubeadm.yml

5
.gitlab-ci/packet.yml

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

4
tests/files/packet_ubuntu20-calico-etcd-kubeadm-upgrade-ha.yml

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

11
tests/files/packet_ubuntu20-calico-etcd-kubeadm.yml

@ -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
Loading…
Cancel
Save