Kubectl config

From NovaOrdis Knowledge Base
Revision as of 04:07, 10 April 2021 by Ovidiu (talk | contribs) (→‎view)
Jump to navigation Jump to search

Internal

Overview

current-context

Displays the current context:

kubectl config current-context

use-context

Sets the current context:

kubectl config use-context new-context-name

view

Displays the content of ~/.kube/cofig:

kubectl config view

rename-context