Kubernetes: Modifying and Deleting Resources

Add a label

kubectl label pods <pod-name> new-label=awesome

Add an annotation

kubectl annotate pods <pod-name> icon-url=http://goo.gl/XXBTWq

Leave a Reply

Your email address will not be published. Required fields are marked *