Difference between revisions of "Kubectl describe -n kube-system configmap/aws-auth"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
username: [[system:node]]:<nowiki>{{EC2PrivateDNSName}}</nowiki> | 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 |
Revision as of 10:54, 4 October 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>
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:{{EC2PrivateDNSName}}" - "groups": - "system:masters" - "eks-console-dashboard-full-access-group" "rolearn": "arn:aws:iam::0987654321:role/PING-support-adm" mapUsers: ---- []
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: