diff --git a/.circleci/config.yml b/.circleci/config.yml index 1893177d05..69e9f17ffb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -564,7 +564,13 @@ jobs: - run: name: Start Minikube Cluster command: | - sudo -E minikube start --vm-driver=none --cpus 2 --memory 4096 --kubernetes-version=$K8S_VERSION + sudo -E minikube start \ + --extra-config=kubeadm.ignore-preflight-errors=NumCPU \ + --extra-config=kubeadm.ignore-preflight-errors=RSRC_INSUFFICIENT_CORES \ + --kubernetes-version=$K8S_VERSION \ + --vm-driver=none \ + --cpus 2 \ + --memory 4096 sudo chown -R circleci:circleci /home/circleci/.kube /home/circleci/.minikube /etc/kubernetes # Work around annoying issue on recent minikubes where namespaces take a long time to generate default service account kubectl create namespace container-default diff --git a/core/src/plugins/kubernetes/kubectl.ts b/core/src/plugins/kubernetes/kubectl.ts index e7a03ef6b1..68e386bb04 100644 --- a/core/src/plugins/kubernetes/kubectl.ts +++ b/core/src/plugins/kubernetes/kubectl.ts @@ -202,20 +202,20 @@ export const kubectlSpec: PluginToolSpec = { { platform: "darwin", architecture: "amd64", - url: "https://storage.googleapis.com/kubernetes-release/release/v1.16.0/bin/darwin/amd64/kubectl", - sha256: "a81b23abe67e70f8395ff7a3659bea6610fba98cda1126ef19e0a995f0075d54", + url: "https://storage.googleapis.com/kubernetes-release/release/v1.20.2/bin/darwin/amd64/kubectl", + sha256: "c4b120ab1284222afbc15f28e4e7d8dfcfc3ad2435bd17e5bfec62e17036623c", }, { platform: "linux", architecture: "amd64", - url: "https://storage.googleapis.com/kubernetes-release/release/v1.16.0/bin/linux/amd64/kubectl", - sha256: "4fc8a7024ef17b907820890f11ba7e59a6a578fa91ea593ce8e58b3260f7fb88", + url: "https://storage.googleapis.com/kubernetes-release/release/v1.20.2/bin/linux/amd64/kubectl", + sha256: "2583b1c9fbfc5443a722fb04cf0cc83df18e45880a2cf1f6b52d9f595c5beb88", }, { platform: "windows", architecture: "amd64", - url: "https://storage.googleapis.com/kubernetes-release/release/v1.16.0/bin/windows/amd64/kubectl.exe", - sha256: "a7e4e527735f5bc49ad80b92f4a9d3bb6aebd129f9a708baac80465ebc33a9bc", + url: "https://storage.googleapis.com/kubernetes-release/release/v1.20.2/bin/windows/amd64/kubectl.exe", + sha256: "d8731ac97166c506441e5d2f69e31d57356983ae15602ba12cc16981862bfdef", }, ], }