title: Kubernetes breadcrumbs:
yay -S kubectl
echo 'source <(kubectl completion bash)' >>~/.bashrc
echo 'source <(kubectl completion zsh)' >>~/.zshrc
kubectl config view
kubectl cluster-info
kubectl get nodes [-o wide]
kubectl get nodes -o=custom-columns="NAME:.metadata.name,ADDRESSES:.status.addresses[?(@.type=='InternalIP')].address,PODCIDRS:.spec.podCIDRs[*]"
kubectl top nodes
kubectl get services
kubectl get pods -A [-o wide]
kubectl logs <pod> [container]
kubectl diff -f <manifest-file>
kubectl get events
TODO
Minikube is local Kubernetes, focusing on making it easy to learn and develop for Kubernetes.
kubectl
symlink: sudo ln -s $(which minikube) /usr/local/bin/kubectl
minikube start
minikube pause
minikube stop
minikube delete --all
minikube config set memory <megabytes>
minikube dashboard
minikube addons list
{% include footer.md %}