Kubernetes: kubectl get describe config Commands
Learn useful debugging tips with the kubectl get
, kubectl describe
, and kubectl config
commands.
kubectl get commands:
kubectl get all
kubectl get all -o wide
kubectl get all --show-labels
kubectl get all --show-labels -l app=demo
kubectl get all,secret,cm
kubectl get pod
kubectl get deployment
kubectl get deploy
kubectl get deploy,pod
kubectl get service/demo-web
kubectl get service demo-web
kubectl get svc/demo-web
kubectl get service/demo-web -o yaml
kubectl get pod/demo-web-5bc96cb4cc-qlh2r -o yaml
kubectl describe commands:
kubectl describe pod/demo-web-5bc96cb4cc-qlh2r
kubectl describe service/demo-web
kubectl describe deploy/demo-web
kubectl config commands:
kubectl config current-context
kubectl config view | grep namespace
kubectl config set-context --current --namespace=kube-system
kubectl config set-context --current --namespace=default
Links:
Docker Essentials
1h 46m
1h 46m
Kubernetes Intro
1h 43m
1h 43m
Kubernetes Deploy Tools
48m
48m
Kubes: Kubernetes Deploy Tool
2h 21m
2h 21m
Kubernetes Tips
19m
19m
AWS EKS Kubernetes
4h 13m
4h 13m
Azure AKS Kubernetes
40m
40m
Google GKE Kubernetes
3h 29m
3h 29m
Get full access to these great resources
All for less than the price of coffee a day
44 courses
286 lessons
46+ hours