Skip to content

Deploy a Local Demo Kubernetes Cluster

If you don't have access to a managed Kubernetes cluster you can deploy one on your local machine or VM. This document describes deploying a cluster with kind. Use the kind site directly to find additional configuration.

Demo Use Only

The instructions in this document are for testing and learning, and not intended for use in production.


Docker System Resources

Docker on linux is typically installed with root privileges and thus has access to the full resources of the machine. Docker for Mac and Windows has a UI to set the resources allocated to docker. Our test Docker for Mac is running with 3 CPUs and 6 GB Memory. Adjust as necessary to meet your needs.


  1. Install kind on your platform.

  2. Create a kind cluster with our sample .yaml file to enable ingress (application network exposure). Source yaml available here

    kind create cluster --config=kind.yaml
  3. Test cluster health by running the following command:

    kubectl cluster-info
    kubectl version
    kubectl get nodes
  4. Next, install the nginx-ingress-controller for kind. Source yaml available here

    kubectl apply -f kind-nginx.yaml
  5. Once the nginx deployment is in a healthy state, run:

    kubectl wait --namespace ingress-nginx \
      --for=condition=ready pod \ \
  6. Verify nginx-ingress-controller is working:

    curl localhost
    <head><title>404 Not Found</title></head>
    <center><h1>404 Not Found</h1></center>

Our examples will use the domain * for accessing applications. You can add all expected hosts to /etc/hosts:

echo '' | sudo tee -a /etc/hosts > /dev/null

Setup is complete.

Your local Kubernetes environment should be ready to deploy our Helm examples