Kubectl config: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 6: Line 6:
==current-context==
==current-context==


Displays the [.kube_config#Current_Context|current context]]:
Displays the [[.kube_config#Current_Context|current context]]:


  kubectl config current-context
  kubectl config current-context

Revision as of 00:14, 22 August 2019

Internal

Overview

current-context

Displays the current context:

kubectl config current-context

view

Displays the content of ~/.kube/cofig:

kubectl config view