Difference between revisions of "Kubectl describe -n kube-system configmap/aws-auth"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
  <code>[[kubectl describe]] -n [[kube-system]] [[configmap]]/[[aws-auth]]</code>
 
  <code>[[kubectl describe]] -n [[kube-system]] [[configmap]]/[[aws-auth]]</code>
  
 +
== Official example ==
 +
<pre>
 +
Name:        aws-auth
 +
Namespace:    kube-system
 +
Labels:      <none>
 +
Annotations:  <none>
  
 +
Data
 +
====
 +
mapRoles:
 +
----
 +
- groups:
 +
  - system:bootstrappers
 +
  - system:nodes
 +
  rolearn: arn:aws:iam::111122223333:role/my-node-role
 +
  username: system:node:{{EC2PrivateDNSName}}
 +
 +
 +
BinaryData
 +
====
 +
 +
Events:  <none>
 +
</pre>
 +
 +
 +
== Errors ==
 
  [[kubectl describe]] -n [[kube-system]] [[configmap]]/[[aws-auth]]
 
  [[kubectl describe]] -n [[kube-system]] [[configmap]]/[[aws-auth]]
 
  [[error: You must be logged in to the server (Unauthorized)]]
 
  [[error: You must be logged in to the server (Unauthorized)]]
 
 
  
 
== Activities ==
 
== Activities ==

Revision as of 17:46, 12 September 2023

kubectl describe -n kube-system configmap/aws-auth

Official example

Name:         aws-auth
Namespace:    kube-system
Labels:       <none>
Annotations:  <none>

Data
====
mapRoles:
----
- groups:
  - system:bootstrappers
  - system:nodes
  rolearn: arn:aws:iam::111122223333:role/my-node-role
  username: system:node:{{EC2PrivateDNSName}}


BinaryData
====

Events:  <none>


Errors

kubectl describe -n kube-system configmap/aws-auth
error: You must be logged in to the server (Unauthorized)

Activities

Related

See also

Advertising: