kube-test: bare metal cluster support 15/43615/9
authorAdrian Villin <[email protected]>
Wed, 24 Sep 2025 08:52:08 +0000 (04:52 -0400)
committerFlorin Coras <[email protected]>
Thu, 16 Oct 2025 16:39:52 +0000 (16:39 +0000)
commit6eb933d5eaeb9db64855a653298b66bbe4acde15
treec993b2197511b62b25a564c367ace572307ec3db
parente1b5247a2f58ca416443fc22a44eea42a50b2509
kube-test: bare metal cluster support

- scripts/quick-import.sh simplifies loading images to nodes
- added NO_REGISTRY option to hopefully avoid issues when
  building docker images
- kube-test differentiates between a KinD and a bare metal cluster
- namespace is deleted at the very end of a test run (REPEAT=N now works)
- added SKIP_CONFIG: when set to true, cluster config won't get updated
- waiting for daemonsets/deployments is now done with WaitGroups

Type: test

Change-Id: Ia02b642062b1ce75d3e4bb2bdb408cd592660f97
Signed-off-by: Adrian Villin <[email protected]>
19 files changed:
.gitignore
test-c/kube-test/Makefile
test-c/kube-test/docker/setup-local-registry.sh
test-c/kube-test/framework_test.go
test-c/kube-test/infra/deployment.go
test-c/kube-test/infra/pod.go
test-c/kube-test/infra/suite_base.go
test-c/kube-test/infra/suite_kube.go
test-c/kube-test/infra/suite_large-mtu.go
test-c/kube-test/infra/utils.go
test-c/kube-test/kube_test.go
test-c/kube-test/kube_test.sh
test-c/kube-test/kubernetes/baremetal-calicovpp-config-template.yaml [new file with mode: 0644]
test-c/kube-test/kubernetes/kind-calicovpp-config-template.yaml [moved from test-c/kube-test/kubernetes/calico-config-template.yaml with 100% similarity]
test-c/kube-test/kubernetes/pod-definitions-template.yaml [moved from test-c/kube-test/kubernetes/pod-definitions.yaml with 85% similarity]
test-c/kube-test/script/build-images.sh
test-c/kube-test/script/build_kube.sh
test-c/kube-test/script/quick-import.sh [new file with mode: 0755]
test-c/kube-test/script/setup-cluster.sh