MT
03/06/2023, 6:47 PMkubectl cluster-info
it is giving timeout error. In AWS, I see that cluster is created but it shows, there is a new version of Kubernetes.Do you think that updating cluster will resolve the issue? Because It also says there might be RBAC permission issues in auth config map.Jamie Zieziula
03/06/2023, 6:50 PMMT
03/06/2023, 7:22 PMJamie Zieziula
03/06/2023, 7:25 PMMT
03/06/2023, 7:30 PMkubectl edit configmap aws-auth -n kube-system
I get timeout error as well.Jamie Zieziula
03/06/2023, 7:33 PMMT
03/06/2023, 7:34 PMJamie Zieziula
03/06/2023, 8:05 PMmodule "eks" {
source = "path/to/eks"
cluster_name = "my-cluster"
region = "us-east-1"
environment = "prd"
k8s_cluster_version = "k8s-version-#"
vpc_id = "vpc-xxx"
private_subnet_ids = "subnet-xxx"
map_users = [{
userarn = "YOUR_AWS_USER_ARN"
username = "clusteradmin"
groups = ["system:masters"]
}]
}
MT
03/06/2023, 8:26 PMJamie Zieziula
03/06/2023, 8:29 PMBrendon Smith
03/07/2023, 10:13 PMmap_users
argument in the v2 recipe.
Additionally, the v1 recipe was on terraform-aws-eks v17, but the v2 recipe is on terraform-aws-eks v18. There were a ton of changes in terraform-aws-eks v18, including that "Support for managing aws-auth configmap has been removed." So I think the v2 recipe needs to offer some more guidance here.
I'm happy to open a GitHub issue to continue the conversation there.Jamie Zieziula
03/07/2023, 10:18 PMBrendon Smith
03/08/2023, 1:03 AM