Utility scripts I use to setup a local Kubernetes cluster by using Kind and Podman with a local registry and the Nginx ingress controller deployed in the cluster.
The nginx ingress controller is a modified version of the YAML you can find here: it exposes port 8080 for http and 8443 for https since it runs on unprivileged Podman and cannot bind to 80 and 443.
- podman
- jq
- kind
- kubectl
Tested on MacOS Ventura 13.4.1, Podman 4.5.1, kind 0.20.0
- Make sure the dependencies are installed on your system.
- chmod the script using the following command:
chmod +x ./setup-kind-with-registry.shthen you can use the Makefile to bring up the environment
make upand to bring it down
make downThe local registry will be seen as "kind-registry:5000" from inside the cluster.