Apply label to K8s resource
11 March 2022 (Updated 11 March 2022)
kubectl label <resource> <resource-name> version=v1
# Update pod 'foo' with the label 'unhealthy' and the value 'true'
kubectl label pods foo unhealthy=true
Tagged:
Kubernetes
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment