Difference between revisions of "Kubectl config view"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
     server: https://172.17.0.43:6443
 
     server: https://172.17.0.43:6443
 
   name: kubernetes
 
   name: kubernetes
  contexts:
+
  [[contexts:]]
 
  - context:
 
  - context:
 
     cluster: kubernetes
 
     cluster: kubernetes

Revision as of 12:14, 3 July 2021

kubectl config view
apiVersion: v1
clusters:
- cluster:
   certificate-authority-data: DATA+OMITTED
   server: https://172.17.0.43:6443
 name: kubernetes
contexts:
- context:
   cluster: kubernetes
   user: kubernetes-admin
 name: kubernetes-admin@kubernetes
current-context: kubernetes-admin@kubernetes
kind: Config
preferences: {}
users:
- name: kubernetes-admin
 user:
   client-certificate-data: REDACTED
   client-key-data: REDACTED


Related terms

See also

Advertising: