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

From wikieduonline
Jump to navigation Jump to search
 
(12 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
== Official example ==
 
== Official example ==
  
  Name:        aws-auth
+
 
 +
  Name:        [[aws-auth]]
 
  Namespace:    kube-system
 
  Namespace:    kube-system
 
  Labels:      <none>
 
  Labels:      <none>
Line 17: Line 18:
 
   - [[system:nodes]]
 
   - [[system:nodes]]
 
   rolearn: arn:aws:iam::111122223333:role/my-node-role
 
   rolearn: arn:aws:iam::111122223333:role/my-node-role
   username: system:node:{{EC2PrivateDNSName}}
+
   username: [[system:node]]:<nowiki>{{EC2PrivateDNSName}}</nowiki>
 
    
 
    
 +
 +
BinaryData
 +
====
 +
 +
Events:  <none>
 +
 +
== Examples ==
 +
 +
kubectl describe -n kube-system configmap/aws-auth
 +
Name:        aws-auth
 +
Namespace:    kube-system
 +
Labels:      <none>
 +
Annotations:  <none>
 +
 +
Data
 +
====
 +
mapAccounts:
 +
----
 +
[]
 +
 +
mapRoles:
 +
----
 +
- "groups":
 +
  - "system:bootstrappers"
 +
  - "system:nodes"
 +
  "rolearn": "arn:aws:iam::0987654321:role/my-[[eks-node-group]]-3211231231232132"
 +
  "username": "system:node:<nowiki>{{EC2PrivateDNSName}}</nowiki>"
 +
- "groups":
 +
  - "[[system:masters]]"
 +
  - "eks-console-dashboard-full-access-group"
 +
  "rolearn": "arn:aws:iam::0987654321:role/[[PING-support-adm]]"
 +
 +
[[mapUsers:]]
 +
----
 +
[]
 +
 
   
 
   
 
  BinaryData
 
  BinaryData
Line 31: Line 68:
 
== Activities ==
 
== Activities ==
 
* Read https://docs.aws.amazon.com/eks/latest/userguide/add-user-role.html
 
* Read https://docs.aws.amazon.com/eks/latest/userguide/add-user-role.html
 +
* [[Enabling IAM principal access to your cluster]]
  
 
== Related ==
 
== Related ==
 
* <code>[[kubectl get roles -A]]</code>
 
* <code>[[kubectl get roles -A]]</code>
* [[Enabling IAM user and role access to your cluster]]
+
* <code>[[kubectl cluster-info]]</code>
 +
* <code>[[curl]]</code>
 +
* <code>[[cat /etc/passwd]]</code>
 +
* <code>[[kind: ClusterRoleBinding]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 12:47, 31 October 2023

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

Official example[edit]

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>

Examples[edit]

kubectl describe -n kube-system configmap/aws-auth
Name:         aws-auth
Namespace:    kube-system
Labels:       <none>
Annotations:  <none>

Data
====
mapAccounts:
----
[]

mapRoles:
----
- "groups":
  - "system:bootstrappers"
  - "system:nodes"
  "rolearn": "arn:aws:iam::0987654321:role/my-eks-node-group-3211231231232132"
  "username": "system:node:{{EC2PrivateDNSName}}"
- "groups":
  - "system:masters"
  - "eks-console-dashboard-full-access-group"
  "rolearn": "arn:aws:iam::0987654321:role/PING-support-adm"

mapUsers:
----
[]


BinaryData
==== 

Events:  <none>

Errors[edit]

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

Activities[edit]

Related[edit]

See also[edit]

Advertising: