Difference between revisions of "App.kubernetes.io/instance"
Jump to navigation
Jump to search
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}") | ||
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: