KKIMS on-site docs
Your workstation

kubectl, Helm 3 and kind

Install kubectl at the cluster's minor version, Helm 3 (not Helm 4) and kind (local rehearsal only) on Linux, macOS and Windows; where the kubeconfig lives, contexts, and the usual problems.

Tool Version to use Needed on your laptop for Needed on the Jenkins agent
kubectl Within one minor version of KIMS's EKS cluster Checking pods, logs, Secrets, the content load pod; the local rehearsal Yes (waits for the rollout)
Helm 3.x, at least 3.14 (3.22.1 is the last Helm 3 release line). Not Helm 4 The local rehearsal; deploying by hand if KIMS lets you Yes (deploys the chart)
kind Any recent (v0.33.0 in November 2026) The local rehearsal only No

You need kubectl and Helm on your laptop only if KIMS gives you access to the namespace; otherwise their team runs the kubectl lines. You need kind only for the local Kubernetes rehearsal.

#Which versions

#kubectl: match the cluster

kubectl must be within one minor version of the cluster: a 1.36 kubectl talks to 1.35, 1.36 and 1.37 clusters. EKS offered 1.34 to 1.37 in standard support in November 2026 (1.31 to 1.33 in extended support).

Ask KIMS the cluster's version, or once you have AWS access:

text
aws eks describe-cluster --name <EKS_CLUSTER_NAME> --region <REGION> --query cluster.version --output text

It prints, for example, 1.35. Install that minor version. The latest patch of a minor is published at https://dl.k8s.io/release/stable-<MINOR>.txt, for example:

text
curl -Ls https://dl.k8s.io/release/stable-1.35.txt

prints something like v1.35.4. Use that as <KUBECTL_VERSION> below. If you do not know the cluster version yet, take the latest stable (https://dl.k8s.io/release/stable.txt); it works with the newest three EKS versions.

The chart itself needs Kubernetes 1.27 or later (kubeVersion: ">=1.27.0-0" in Chart.yaml), which every supported EKS version meets.

#Helm: 3, not 4

The chart and the Jenkins pipeline were written and tested on Helm 3. Helm 4 was released in November 2025, and package managers now install it by default (brew install helm, winget install Helm.Helm, the get-helm-4 script). Stay on Helm 3 until the chart has been tried on 4.

Helm 3 gets security fixes until February 2027 (the Helm project's end-of-life notice). That is just after the planned go-live, so moving the chart and the agent to Helm 4 is a near-term follow-up to mention in the hand-over.

#Install kubectl

Download the exact version (replace <KUBECTL_VERSION>, for example v1.35.4). x86_64:

bash
curl -LO "https://dl.k8s.io/release/<KUBECTL_VERSION>/bin/linux/amd64/kubectl"
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl

arm64: the same with linux/arm64 in the URL.

Or from the Kubernetes apt repository, pinned to a minor version (here 1.35; change both places):

bash
sudo apt update && sudo apt install -y apt-transport-https ca-certificates curl gnupg
curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.35/deb/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.35/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list
sudo apt update && sudo apt install -y kubectl

Homebrew installs the latest kubectl, which is fine for the newest clusters:

bash
brew install kubectl

For an exact version, download it (Apple silicon darwin/arm64, Intel darwin/amd64):

bash
curl -LO "https://dl.k8s.io/release/<KUBECTL_VERSION>/bin/darwin/arm64/kubectl"
chmod +x kubectl
sudo mv kubectl /usr/local/bin/kubectl

Docker Desktop also installs a kubectl (in /usr/local/bin). Check which one runs with command -v kubectl and kubectl version --client.

With winget (latest version):

powershell
winget install -e --id Kubernetes.kubectl

For an exact version, download it into a folder of your own and put that folder on your PATH:

powershell
New-Item -ItemType Directory -Force "$HOME\bin" | Out-Null
curl.exe -Lo "$HOME\bin\kubectl.exe" "https://dl.k8s.io/release/<KUBECTL_VERSION>/bin/windows/amd64/kubectl.exe"

Then add C:\Users\<you>\bin to your user PATH (Settings, System, About, Advanced system settings, Environment Variables, user Path, New) and open a new window.

Docker Desktop also installs a kubectl (C:\Program Files\Docker\Docker\resources\bin). If both are on PATH, the first wins: where.exe kubectl shows the order.

#Check kubectl

text
kubectl version --client

You should see Client Version: v1.35.4 (your version) and Kustomize Version: v5.x. With no cluster configured yet, that is all it prints.

#Install Helm 3

Download the Helm 3 release (x86_64 shown; use linux-arm64 on arm64):

bash
curl -fsSLO https://get.helm.sh/helm-v3.22.1-linux-amd64.tar.gz
tar -zxvf helm-v3.22.1-linux-amd64.tar.gz
sudo install -m 0755 linux-amd64/helm /usr/local/bin/helm

Or Helm's Helm 3 install script with a pinned version:

bash
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh --version v3.22.1

Do not use apt install helm or dnf install helm without checking the version they give: they may now be Helm 4.

bash
brew install helm@3
echo 'export PATH="$(brew --prefix helm@3)/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc

helm@3 is keg-only (Homebrew does not link it), hence the PATH line. If Homebrew's helm (Helm 4) is also installed, this puts Helm 3 first; or remove 4 with brew uninstall helm.

powershell
winget install -e --id Helm.Helm --version 3.22.1

(The engineer's laptop used --version 3.20.0, which also works: any 3.x from 3.14.) If winget does not have that exact version, winget show --id Helm.Helm --versions lists them; pick the newest starting with 3.. Then stop winget upgrading it to Helm 4:

powershell
winget pin add --id Helm.Helm

Or download https://get.helm.sh/helm-v3.22.1-windows-amd64.zip, extract helm.exe into $HOME\bin (the folder from the kubectl step) and make sure that folder is on PATH.

The install ends with Path environment variable modified; restart your shell to use the new value. Open a new window.

#Check Helm

text
helm version --short

You should see v3.22.1+g... (or another v3.x at least v3.14). If it starts with v4., you have Helm 4: install 3 as above and fix the PATH order.

#Install kind (local rehearsal only)

bash
[ $(uname -m) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.33.0/kind-linux-amd64
[ $(uname -m) = aarch64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.33.0/kind-linux-arm64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind
bash
brew install kind
powershell
winget install -e --id Kubernetes.kind

Or download it: curl.exe -Lo "$HOME\bin\kind.exe" https://kind.sigs.k8s.io/dl/v0.33.0/kind-windows-amd64.

Open a new window afterwards. winget puts kind under %LOCALAPPDATA%\Microsoft\WinGet\Packages\, where Application Control may block it: see If it goes wrong.

#Check kind

text
kind version

You should see kind v0.33.0 go1.x ... or later. kind needs Docker running (Docker).

#kubeconfig and contexts

#Where it lives

kubectl and Helm read the same file:

System Default kubeconfig
Linux, macOS ~/.kube/config
Windows C:\Users\<you>\.kube\config

The KUBECONFIG environment variable overrides it (several files separated by : on Linux and macOS, ; on Windows). The Jenkins kims-kubeconfig credential is such a file, handed to the job.

#Getting an EKS entry

text
aws eks update-kubeconfig --name <EKS_CLUSTER_NAME> --region <REGION> --alias kims-eks

This adds a context named kims-eks. The entry calls aws eks get-token each time kubectl runs, so the AWS CLI must be installed and signed in for kubectl to work against EKS, and your IAM identity must have an EKS access entry on the cluster. EKS covers both.

#Seeing and switching contexts

text
kubectl config get-contexts
kubectl config use-context kims-eks
kubectl config current-context

The local rehearsal's context is kind-kims-v2. Always check the current context before a command that changes anything, or pass --context explicitly: the pages on this site do, for example kubectl --context kind-kims-v2 -n kims get pods.

Tip

Set the namespace on your EKS context once, so you cannot forget -n: kubectl config set-context kims-eks --namespace kims (UAT: kims-uat).

#Check against a cluster

Once you have access:

text
kubectl --context kims-eks -n kims get pods
kubectl version

You should see the pods (or No resources found in kims namespace. before the first deploy), and both a Client and a Server version within one minor of each other. A WARNING: version difference between client (1.37) and server (1.34) exceeds the supported minor version skew of +/-1 means install a closer kubectl.

#If it goes wrong

What you see Cause Fix
'kind' is not recognized / 'helm' is not recognized after winget Window opened before install Close every PowerShell window (including those in your editor), open a new one; if still missing, sign out and in
An Application Control policy has blocked this file running kind.exe or helm.exe (Git Bash says Permission denied) Windows App Control blocks unsigned programs under %LOCALAPPDATA%\Microsoft\WinGet\Packages Ask IT to allow them, with each file's path and hash (Get-FileHash <path>); a path rule is easier than a hash rule, which breaks on every upgrade. See Windows notes
helm version shows v4.x A package manager installed Helm 4 Install Helm 3 as above; check PATH order
error: exec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1" A very old AWS CLI wrote the kubeconfig Update the AWS CLI and run aws eks update-kubeconfig again
error: You must be logged in to the server (Unauthorized) Your IAM identity has no EKS access entry, or the SSO session expired aws sts get-caller-identity; aws sso login; ask KIMS for an access entry (EKS)
Unable to connect to the server: dial tcp ... i/o timeout The EKS API endpoint is private and you are outside the VPC VPN, a bastion, or KIMS's team runs the commands
Error: INSTALLATION FAILED: chart requires kubeVersion: >=1.27.0-0 Cluster older than 1.27 KIMS must upgrade the cluster
the server could not find the requested resource for a recent API kubectl and server too far apart Install the cluster's minor version
kind create cluster fails with port is already allocated Port 3102 (the rehearsal's CMS) in use Stop whatever uses it; see Local Kubernetes

#Sources

Built 2026-11-29. Commands are shown for the system picked at the top; every block has all three.