Difference between revisions of "App.kubernetes.io/instance"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
[[app.kubernetes.io]]/instance | [[app.kubernetes.io]]/instance | ||
+ | export POD_NAME=$([[kubectl get pods --namespace]] default -l "[[app.kubernetes.io/name]]=prometheus,[[app.kubernetes.io/instance]]=prometheus" -o jsonpath="{.items[0].metadata.name}") | ||
Line 10: | Line 11: | ||
* {{app.kubernetes.io}} | * {{app.kubernetes.io}} | ||
* {{labels}} | * {{labels}} | ||
+ | |||
+ | [[Category:Kubernetes]] |
Latest revision as of 13:26, 30 November 2023
app.kubernetes.io/instance
export POD_NAME=$(kubectl get pods --namespace default -l "app.kubernetes.io/name=prometheus,app.kubernetes.io/instance=prometheus" -o jsonpath="{.items[0].metadata.name}")
Related[edit]
- Annotations
See also[edit]
Advertising: