Commonly used commands for K3s
Commonly used commands for K3s
List nodes:
1
kubectl get nodes
List pods:
- All pods:
1
kubectl get pods -a
- Pods in specific namespaces:
1
kubectl get pods -n <namespace>
List services:
- All services
1
kubectl get services -A
Show Kubernetes Service:
1
kubectl get svc
This post is licensed under
CC BY 4.0
by the author.