BeginnerLesson 2 of 35
A local cluster and kubectl
Practise safely on your laptop.
kind (Kubernetes in Docker) and minikube both give you a one-node cluster. kubectl is the command-line client.
bash
kind create cluster --name dev
kubectl cluster-info
kubectl get nodes
kubectl config get-contexts # which cluster am I talking to?
kubectl config use-context kind-devAlways check your context before running destructive commands; a wrong context can point at production.