Difference between revisions of "How do I resolve an unauthorized server error when I connect to the Amazon EKS API server?"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | mapUsers | + | {{mapUsers and mapRoles}} |
− | |||
− | |||
− | |||
− | |||
− | |||
+ | [[aws eks update-kubeconfig --name eks-cluster-name]] | ||
[[aws eks update-kubeconfig --name eks-cluster-name --region aws-region --role-arn]] | [[aws eks update-kubeconfig --name eks-cluster-name --region aws-region --role-arn]] | ||
+ | == Related == | ||
+ | * [[ConfigMap]] | ||
+ | * <code>[[kubectl describe -n kube-system configmap/aws-auth]]</code> | ||
+ | [[aws eks update-kubeconfig]] | ||
== See also == | == See also == |
Latest revision as of 16:57, 20 March 2023
mapUsers: | - userarn: arn:aws:iam::XXXXXXXXXXXX:user/your-aws-user username: your-k8s-new-user-with-master-privileges groups: - system:masters mapRoles: | - rolearn: arn:aws:iam::XXXXXXXXXXXX:role/your-aws-role username: your-new-k8s-user-with-master groups: - system:masters
aws eks update-kubeconfig --name eks-cluster-name aws eks update-kubeconfig --name eks-cluster-name --region aws-region --role-arn
Related[edit]
See also[edit]
Advertising: