From 58c8d06e388d0c0f5dd6f051b68bdfe25a3ac7cc Mon Sep 17 00:00:00 2001 From: Sneha Chhabria Date: Tue, 20 Jul 2021 16:21:16 -0700 Subject: [PATCH] Update node for kind cluster on CI This commit increase the node count for kind cluster used in the CI. Signed-off-by: Sneha Chhabria --- .github/workflows/nightly-noinstall.yml | 6 ++++-- scripts/kind-with-registry.sh | 4 ++++ tests/e2e/e2e_http_ingress_test.go | 3 +++ tests/framework/common.go | 26 ++++++++++++++++++++++--- 4 files changed, 34 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nightly-noinstall.yml b/.github/workflows/nightly-noinstall.yml index bcef4b67e2..0f4543df56 100644 --- a/.github/workflows/nightly-noinstall.yml +++ b/.github/workflows/nightly-noinstall.yml @@ -22,16 +22,18 @@ jobs: apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane + - role: worker kubeadmConfigPatches: - | - kind: InitConfiguration + kind: JoinConfiguration nodeRegistration: kubeletExtraArgs: node-labels: "ingress-ready=true" extraPortMappings: - containerPort: 80 hostPort: 80 - protocol: TCP + protocol: TCP + - role: worker EOF cat kind-config.yaml diff --git a/scripts/kind-with-registry.sh b/scripts/kind-with-registry.sh index ae12bf52c1..6db6699984 100755 --- a/scripts/kind-with-registry.sh +++ b/scripts/kind-with-registry.sh @@ -42,6 +42,10 @@ echo "Registry Host: ${reg_host}" cat <