Difference between revisions of "-l"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
  export POD_NAME=$([[kubectl get pods]] --namespace default -l "app=prometheus,component=server" -o [[jsonpath]]="{.items[0].metadata.name}")
+
  export POD_NAME=$([[kubectl get pods]] --namespace default -l "[[app=prometheus]],[[component=server]]" -o [[jsonpath]]="{.items[0].metadata.name}")
  
  
Line 7: Line 7:
 
* <code>[[kubectl get pods]]</code>
 
* <code>[[kubectl get pods]]</code>
 
* <code>[[psql -l]]</code>
 
* <code>[[psql -l]]</code>
 +
* [[helm install prometheus]]
  
 
== See also ==
 
== See also ==

Latest revision as of 13:25, 30 November 2023

Advertising: