Articles → DOCKER → Labeling In Kubernetes
Labeling In Kubernetes
What Is Labelling?
How To Apply Label?
kubectl label pods [pod_name] [key]=[value]
How To Check The Pod Label?
kubectl describe pods [pod_name]
Kubectl Get Po --Show-Labels Command
kubectl get po --show-labels
Search The Pod Based On Label
kubectl get po -l [key]=[value]
Posted By - | Karan Gupta |
|
Posted On - | Monday, January 29, 2024 |
|
Updated On - | Friday, February 2, 2024 |