Skip to content

NexClipper/kind-setup-external-ip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

kind-setup-external-ip

KinD clusters run in MacOS or Linux with External IP

Communicate with kind

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.

Using Script

./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!

Delete Cluster

$ kind delete cluster --name kind

About

KinD clusters run in MacOS with External IP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages