kind can spin up a Kubernetes cluster from Docker containers with a single command, letting you catch chart errors before the real installation.
Key takeaways
- kind runs Kubernetes clusters using Docker containers as nodes; a single
kind create clustercommand creates one. - Images loaded with
kind loadare only used whenimagePullPolicyis set toIfNotPresentorNever. - Passing on kind only proves the chart is correct for Kubernetes, not that it fits the customer's environment.
Most Forward Deployed Engineers (FDEs) working with Kubernetes have experienced this failure: you stand in front of the customer's cluster, run
helm install
, and the chart throws an error. The cause might be a wrong value in
values.yaml
, an image that can't be pulled, or a template that no one has ever rendered. The bug is small, but it happened on someone else's infrastructure, and what you lose is credibility.
To avoid this, you need a cluster for rehearsal. Helm's quickstart documentation states the first prerequisite plainly: you must already have a Kubernetes cluster with kubectl configured on your machine. On-site at the customer, that cluster belongs to the customer; on your laptop, kind fills exactly that gap.
A Kubernetes cluster is just a few containers
kind's approach is clever: every node in the cluster is a Docker container. No need to prepare a separate VM for each node, and no cloud account needed. macOS and Windows users should note one thing: Docker Desktop itself runs containers inside a Linux VM, so there's still a VM underneath—kind just doesn't create additional ones per node.
The only requirement is a container runtime. The kind website requires Docker to be installed; kind detects whether docker, podman, or nerdctl is installed on the machine and uses whichever is available. After that, creating a cluster takes just one command:
kind create cluster
If you want to run multiple clusters at once—for example, one rehearsal cluster per customer—you can use
--name
to give each cluster its own name.
Rehearsing a customer installation
Imagine this scenario: a customer runs an internal service, and you've written a fix for their application, packaged into an image
my-app:0.1.0
. Next week you'll install it into the customer's production cluster with Helm, and it has to succeed on the first try.
Step one: create a named cluster:
kind create cluster --name test-cluster
Step two is where kind saves the most time. The freshly built image lives in your local Docker, not in any registry. There's no need to set up a registry or push the image anywhere public—just load it directly into the cluster:
kind load docker-image my-app:0.1.0 --name test-cluster
Step three: install the chart, setting the pull policy directly in the install command:
helm install my-app ./chart --set image.tag=0.1.0 --set image.pullPolicy=IfNotPresent
This command assumes the chart uses the common values structure with the
image.tag
and
image.pullPolicy
keys. The customer's chart may use different key names, so open
values.yaml
first to confirm.
--set
This works because
values.yaml
only stores the chart's default values, which the installer can override at install time.
If the pods start normally, you've verified three things before walking into the customer's meeting room: the templates render correctly, the values are valid, and the image runs on a real Kubernetes cluster.
If the pods won't start, suspect the image first
There's one thing to watch out for in the example above. Images loaded with
kind load
exist only inside the kind cluster, not in any registry. If you let the cluster pull this image from a registry, it will look for something that doesn't exist at all.
What determines this is the container's
imagePullPolicy
. The kind documentation recommends setting it to
IfNotPresent
or
Never
, and avoiding the
:latest
tag. According to the Kubernetes documentation,
IfNotPresent
only pulls the image if it's not present locally;
Never
never pulls: if the image exists, the kubelet starts the container; if not, startup fails.
So when a pod is stuck, don't suspect the templates first—the first thing to do is run
kubectl describe pod
and look at the Events section. If Events shows the cluster trying to pull the image, check whether the install command included
--set image.pullPolicy=IfNotPresent
, or whether the chart uses a different key to set this policy, causing your parameter to have no effect.
Combined with a pinned tag like
0.1.0
, the cluster will use exactly the image you just loaded. The real installation also needs a pinned tag, because it tells you precisely which version is running.
kind is not a replica of the customer's cluster
The kind homepage states clearly that the tool was primarily developed for testing Kubernetes itself, with local development and CI as secondary uses. Keep this in mind when interpreting results. All green on a kind cluster proves the chart is correct for Kubernetes, but not yet that it fits the customer's environment.
Production clusters and kind clusters can differ in many ways: which storage class is used, cloud provider load balancers, network policies, which registries images can be pulled from, and how strict RBAC permissions are.
kind load docker-image
This trick is the most obvious example. On kind it bypasses the registry; on a real cluster, the image still has to be in a registry the customer's cluster can pull from, and
imagePullPolicy
may also need to differ from the rehearsal.
The sensible way to use kind is as the first filter. It catches template, values, and image errors on your machine, so your time on-site with the customer is spent on problems that are genuinely specific to the customer. When gathering customer requirements, ask early about storage, ingress, registries, and access permissions, because kind can't answer those for you.
An exercise to prove you can do it
Chain all the steps into a small exercise: create a
test-cluster
cluster, load
my-app:0.1.0
, install the chart with
imagePullPolicy: IfNotPresent
, and get the application running two pods.
How to get two pods depends on the chart.
replicaCount
is not a built-in Helm feature but a key each chart defines in its own values. If the chart has this key, use
--set replicaCount=2
; if not,
kubectl scale deployment my-app --replicas=2
can adjust the deployment's replica count without modifying the chart.
Expected result:
kubectl get pods -o wide
shows two pods in the Running state. If a pod is stuck, go back to the Events section of
kubectl describe pod
. Finding the cause on your laptop costs far less than finding it in front of the customer.
What to learn first, what to put on your resume
A sensible learning order: create a named cluster, load an image with a pinned tag, understand
imagePullPolicy
, install a chart, then practice overriding values and scaling deployments.
For those aiming to move into an FDE role, this is an easy skill to showcase. A small repository containing a chart and a CI job that installs it onto a kind cluster on every push is more convincing than a line on your resume saying "familiar with Kubernetes."
When you read a job description that mentions Kubernetes, Helm, or "deploying to customer environments," you'll already have concrete stories to tell in the interview—including how you traced a pod that wouldn't start back to its root cause through the Events.
The customer will never see your kind cluster. What they see is an installation that goes smoothly from the very first command.
Was this article helpful?
Thanks for your feedback!