Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 514 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 514 Bytes

tasty-kube

Trigger pod restarts for a Deployment

kubectl patch deployment test-server -p '{"spec":{"template":{"metadata":{"annotations":{"myhack/timehack": "timestamp"}}}}}'

sort pods by node names

kubectl get pods --all-namespaces -o=custom-columns=NAME:.metadata.name,NAMESPACE:.metadata.namespace,NODE:.spec.nodeName --sort-by=.spec.nodeName

FAQ

  • failed to create sandbox means that the kubelet can't bring up the pause container or CNI started causing IP to change.