Skip to content

Commit b78c670

Browse files
author
DevOpsNatalie
committed
[fix] - kubectl
1 parent d3072c4 commit b78c670

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/benchmark.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,22 +57,25 @@ jobs:
5757
with:
5858
python-version: 3.9
5959

60-
- name: FIX Network issue
60+
#https://github.com/helm/kind-action/issues/30
61+
- name: FIX Kind on container issue
6162
run: |
6263
export KUBECONFIG=$HOME/.kube/config
6364
export KIND_EXPERIMENTAL_DOCKER_NETWORK=${{ job.container.network }}
6465
echo ${KIND_EXPERIMENTAL_DOCKER_NETWORK}
65-
66+
# Install Kind
6667
[ $(uname -m) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.22.0/kind-linux-amd64
6768
chmod +x ./kind
6869
sudo mv ./kind /usr/local/bin/kind
70+
# Install Kind Cluster
6971
kind create cluster \
7072
--kubeconfig $KUBECONFIG \
7173
--config=.github/workflows/kind-config.yaml \
7274
--name action || true
75+
# Install Kubectl
7376
curl -LO https://dl.k8s.io/release/v1.29.2/bin/linux/amd64/kubectl
7477
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
75-
docker ps -a
78+
# Kubectl set context
7679
kubectl config set-cluster kind-action --server=https://action-control-plane:6443
7780
7881
# - name: Create k8s Kind Cluster

0 commit comments

Comments
 (0)