title: Kubernetes breadcrumbs:
Using Debian.
echo 'source <(kubectl completion bash)' >>~/.bashrc
echo 'source <(kubectl completion zsh)' >>~/.zshrc
kubectl config view
kubectl cluster-info
kubectl get nodes
kubectl get services
kubectl get pods [-A] [-o wide]
-A
for all namespaces instead of just the current/default one.-o wide
for more info.kubectl logs <pod> [container]
kubectl diff -f <manifest-file>
kubectl get events
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 %}