Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 376 Bytes

Troubleshoot.md

File metadata and controls

18 lines (14 loc) · 376 Bytes

Section 1: Troubleshoot commands for kubernetes:

kubectl version
kubectl get pods -n kube-system
kubectl get componentstatus
kubectl get nodes
journalctl -u kubelet
kubectl get pods --all-namespaces

Section 2: Running commands via ansible

ansible -a '<commands from Section 1>' -b

ansible label_type_master -a 'pods -n kube-system' -b