Kubernetes Operations: Difference between revisions
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
=To Redistribute= | =To Redistribute= | ||
==Port Fowarding== | ==Port Fowarding== |
Revision as of 01:35, 7 September 2019
Internal
Subjects
- kubectl
- kubeadm
- kustomize
- Namespace Operations
- Pod Operations
- Secrets Operations
- Namespace Operations
Runtimes
To Redistribute
Port Fowarding
while ! kubectl -n my-namespace port-forward service/my-service 8787:8787; do sleep 1; done
Get an Individual Attribute Only
https://gist.github.com/so0k/42313dbb3b547a0f51a547bb968696ba
kubectl ... -o jsonpath="{.status.phase}"
kubectl ... -o jsonpath="{.items[?(@.spec.unschedulable)].metadata.name}"