Skip to main content

Comandos - Kubernetes

kubectl get nodes
kubectl get pods
kubectl get services

kubectl describe nodes my-node
kubectl describe pods my-pod


kubectl config view
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--tls-san 116.202.30.191" sh -

curl -sfL https://get.k3s.io | K3S_URL=https://116.202.30.191:6443 K3S_TOKEN=K10e7b3ab4632c1750501fc5e0c292200b456339c5f9cc425998487549597f7cd08::server:525c5c6c496a1e12f845e911afbf0085 sh -

https://kubernetes.io/docs/reference/kubectl/cheatsheet/

https://microk8s.io/docs/commands