Difference between revisions of "App.kubernetes.io/instance"
Jump to navigation
Jump to search
(2 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}") | ||
== Related == | == Related == | ||
* Annotations | * Annotations | ||
− | |||
− | |||
== See also == | == See also == | ||
* {{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: