How to get a list of kube-contexts using cli

后端 未结 0 841
清酒与你
清酒与你 2020-12-05 19:54

I am trying to get a list of kube-contexts (and filtering for gke clusters) and with some tools ended up with that:

kubectl config get-contexts | tr -s \' \'          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题