Kubernetes annotations11/4/2022 This command runs kubectl delete on all the returned objects that have the labels "environment": "dev" or "environment": "sit". Kubectl delete deployment,services,statefulsets -l environment in (dev,sit) For example, you may use a label to record an owner identifier for the person responsible for a pod/deployment. Kubernetes labels are commonly used for sharing information with other colleagues. Kubernetes provides built-in support for querying objects via labels and applying bulk operations on the subset selected. Labels are key-value pairs used to attach identifying metadata to Kubernetes objects. To help organize cluster resources, Kubernetes provides two ways to tag metadata to objects: 1.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |