Skip to content

Commit 0179d93

Browse files
author
Daniel Vaseekaran
committed
Added LoadBalancer for Kind E2E test cluster
1 parent 4e5f972 commit 0179d93

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/actions/kind-create/action.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,11 @@ runs:
4444
kind get kubeconfig --name ${{ inputs.kind_cluster_name }} > $kubeconfig_path
4545
chmod 600 $kubeconfig_path
4646
echo "kubeconfig=$(echo $kubeconfig_path)" >> $GITHUB_OUTPUT
47+
run: |
48+
echo "Install cloud-provider-kind"
49+
go install sigs.k8s.io/cloud-provider-kind@latest
50+
kubectl label node e2e-kind-control-plane node.kubernetes.io/exclude-from-external-load-balancers-
51+
node/e2e-kind-control-plane unlabeled
52+
echo "Run Cloud Provider Kind to enable LoadBalancer"
53+
~/go/bin/cloud-provider-kind
4754
shell: bash

0 commit comments

Comments
 (0)