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
Cheers,
Diego Pacheco
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
Cheers,
Diego Pacheco
Tags: no keyword
comment 0 comments