Kind - Kubernetes in Docker

Kind - Allow us to run Kubernetes in Docker. This is not a production-ready solution - however, has a lot of potential in order to make a safe and lightweight alternative option to Minikube.  Kind is built with Go and uses Docker API in order to get things spinning.
I got impressed with the speed thing runs with kind, this is an interesting alternative together with k3s and Minikube.




Getting Started with Kind

kind create cluster
export KUBECONFIG="$(kind get kubeconfig-path --name="kind")"
kubectl cluster-info
k get all -n default
docker ps
kind delete cluster
kind create cluster
Creating cluster "kind" ...
 โœ“ Ensuring node image (kindest/node:v1.13.4) ๐Ÿ–ผ 
 โœ“ Preparing nodes ๐Ÿ“ฆ 
 โœ“ Creating kubeadm config ๐Ÿ“œ 
 โœ“ Starting control-plane ๐Ÿ•น๏ธ 
Cluster creation complete. You can now use the cluster with:

export KUBECONFIG="$(kind get kubeconfig-path --name="kind")"
kubectl cluster-info


kubectl cluster-info

Kubernetes master is running at https://localhost:35795
KubeDNS is running at https://localhost:35795/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy

To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.

docker ps
CONTAINER ID        IMAGE                  COMMAND                  CREATED             STATUS              PORTS                                  NAMES
f3937f9dca4f        kindest/node:v1.13.4   "/usr/local/bin/en..."   13 minutes ago      Up 13 minutes       35795/tcp, 127.0.0.1:35795->6443/tcp   kind-control-plane
view raw kind.md hosted with โค by GitHub


Cheers,
Diego Pacheco

Popular posts from this blog

Having fun with Zig Language

C Unit Testing with Check

Cool Retro Terminal