Skip to content

Latest commit

 

History

History
7 lines (7 loc) · 296 Bytes

K8S.md

File metadata and controls

7 lines (7 loc) · 296 Bytes

Query readiness of service

kubectl get pod -l k8s-app=policycenter-app -o jsonpath='{.items[*].status.containerStatuses[*].ready}'
kubectl get pod -l k8s-app=policycenter-app -o go-template="{{range .items}}{{range .status.containerStatuses}}{{.ready}}{{end}}{{end}}"