Difference between revisions of "Rancher cluster kubeconfig"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
  
  
 +
for CLUSTER in $([[rancher cluster ls]]) | grep -v NAME | cut -d"*" -f2- | awk '{print $3}' ); do [[rancher cluster kubeconfig $CLUSTER > $CLUSTER.kubeconfig; done
 +
 +
== Related ==
 
  [[rancher server]]
 
  [[rancher server]]
  

Revision as of 13:17, 28 September 2023

rancher cluster kubeconfig yourclustername


for CLUSTER in $(rancher cluster ls) | grep -v NAME | cut -d"*" -f2- | awk '{print $3}' ); do [[rancher cluster kubeconfig $CLUSTER > $CLUSTER.kubeconfig; done

Related

rancher server

See also

Advertising: