Kubernetes Cheat Sheet
Colima
Colima and kubectl
How to get the K8S credentials
colima ssh -- cat /etc/rancher/k3s/k3s.yaml
or
colima ssh -- cat /etc/rancher/k3s/k3s.yaml > $KUBECONFIG
Helm
Playing around with Helm on Colima Kubernetes
colima start
colima kubernetes start
helm repo add examples https://helm.github.io/examples
helm repo update
echo "replicaCount: 2" | helm upgrade --install my-hello-world examples/hello-world -f -
sleep 10
kubectl get pods
helm list
echo "replicaCount: 2" | helm upgrade --install my-hello-world examples/hello-world -f -
sleep 10
echo "replicaCount: 2" | helm upgrade --install my-hello-world examples/hello-world -f -
kubectl get pods
helm list
Debugging PODs
Tools & Resources
K9S
Installation
brew install derailed/k9s/k9s
Running on default
namespace
k9s -n default