This example shows you how to use Hydroform to provision a Kind cluster.
To provision a Kind cluster you need Docker with memory settings configured to support the cluster you want to run.
-
To provision a new cluster on Azure, go to the
provision
directory and run:go run ./examples/kind/main.go -p {project-name} -n {dockerhub/image:tag} --persist
-
If you have Kind installed, you can run
kind get clusters
to see if your cluster is running. -
Export the KUBECONFIG environment variable pointing to the
kubeconfig
file generated by running the example. This will allow you to access the cluster.export KUBECONFIG=$(pwd)/kubeconfig.yaml