-
List all pods with their priority-class:
kubectl get pods --all-namespaces -o custom-columns=NAME:.metadata.name,PRIORITY:.spec.priorityClassName,VALUE:.spec.priority
-
List all pods with a specific priority-class:
kubectl get pods -A -o=jsonpath='{.items[?(@.spec.priorityClassName=="system-node-critical")].metadata.name}{"\n"}'
-
List all pods running on a node:
kubectl get pods --all-namespaces -o wide --field-selector spec.nodeName=
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Complete documentation is available at https://traefik.io | |
Usage: traefik [flags] <command> [<arguments>] | |
Use "traefik <command> --help" for help on any command. | |
Commands: |