From f65d8981aadd9e969af75ae8352e33cae782fc37 Mon Sep 17 00:00:00 2001 From: DevOpsNatalie Date: Thu, 4 Apr 2024 20:24:31 +0300 Subject: [PATCH] [fix] - kubectl --- .github/workflows/benchmark.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index d61a9e103b13..e4947c017760 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -60,13 +60,18 @@ jobs: run: | export KUBECONFIG=$HOME/.kube/config export KIND_EXPERIMENTAL_DOCKER_NETWORK=${{ job.container.network }} - - - name: Create k8s Kind Cluster - uses: helm/kind-action@v1.9.0 - with: - kubectl_version: v1.28.0 - cluster_name: action - config: .github/workflows/kind-config.yaml + kind create cluster \ + --kubeconfig $KUBECONFIG \ + --config=.github/workflows/kind-config.yaml \ + --name action + kubectl cluster-info --context kind-action + +# - name: Create k8s Kind Cluster +# uses: helm/kind-action@v1.9.0 +# with: +# kubectl_version: v1.28.0 +# cluster_name: action +# config: .github/workflows/kind-config.yaml - name: Install the CRD and Operator