Difference between revisions of "Kubernetes labels"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 30: Line 30:
 
     [[addonmanager.kubernetes.io]]/mode: EnsureExists
 
     [[addonmanager.kubernetes.io]]/mode: EnsureExists
  
 +
 +
* [[Kubernetes Canary Deployments]]: <code>[[track:]] [ stable | [[canary]] ]</code>
  
 
== Activities ==
 
== Activities ==
Line 41: Line 43:
 
* <code>[[kubectl describe configmaps]]</code>
 
* <code>[[kubectl describe configmaps]]</code>
 
* [[Kubernetes selectors]]: <code>[[selector:]]</code>
 
* [[Kubernetes selectors]]: <code>[[selector:]]</code>
[[eks.amazonaws.com/compute-type: fargate]]
+
* [[eks.amazonaws.com/compute-type: fargate]]
 +
* [[kind: Deployment]]
 +
* [[Docker compose]] labels
  
 
== See also ==
 
== See also ==

Latest revision as of 17:37, 15 February 2024

https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/

kubectl get pods -l environment=myproduction,tier=myfrontend
kubectl get pods -l 'environment in (myproduction, myqa)'
.../...
metadata:
 labels:
.../...
kubectl describe pod my-release-kubernetes-dashboard
.../...
Labels:       app.kubernetes.io/component=kubernetes-dashboard
             app.kubernetes.io/instance=my-release
             app.kubernetes.io/managed-by=Helm
             app.kubernetes.io/name=kubernetes-dashboard
             app.kubernetes.io/version=2.4.0
             helm.sh/chart=kubernetes-dashboard-5.0.4
             pod-template-hash=b8c4f9c87
.../...


 labels:
   addonmanager.kubernetes.io/mode: EnsureExists


Activities[edit]

Related[edit]

See also[edit]

Advertising: