Difference between revisions of "App.kubernetes.io/instance"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | [[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 7: | Line 9: | ||
== See also == | == See also == | ||
− | * {{ | + | * {{app.kubernetes.io}} |
+ | * {{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: