KinD clusters run in MacOS or Linux with External IP
By default, KinD sets up the Kubernetes API server IP to be the local loopback address (127.0.0.1).
Configure the KinD cluster to use an IP address that is already resolvable from your local machine.
So, You can test a scenario kind cluster to use an externel IP.
./create.sh
/usr/local/bin/kind exists.
Creating cluster "kind" ...
✓ Ensuring node image (kindest/node:v1.20.2) 🖼
✓ Preparing nodes 📦 📦 📦
✓ Writing configuration 📜
✓ Starting control-plane 🕹️
✓ Installing CNI 🔌
✓ Installing StorageClass 💾
✓ Joining worker nodes 🚜
Set kubectl context to "kind-kind"
You can now use your cluster with:
kubectl cluster-info --context kind-kind
Thanks for using kind! 😊
Starting K3d Cluster
-
Kubernetes control plane is running at https://192.168.15.88:6443
KubeDNS is running at https://192.168.15.88:6443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
All Resources Ready State!
$ kind delete cluster --name kind