-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kompose username/password? #137
Comments
@bkcummins Hey! Would you mind sharing us full log messages until you were asked for username and password? I was wondering if |
@mumoshu They are private images. Our DTR is docker hub, but I am authenticated successfully there on the local terminal. Is there an additional step I missed to link the DTR to EKS? Oh, btw....I got the same Username/Password request when attempting the Kompose docker-compose.yml tutorial (with public images). To date, I’ve been deploying with docker-compose directly to single node EC2 docker machines. This all works fine from the local terminal. With AWS EKS, I can deploy out to the cluster of worker nodes using the various tutorial apps without a problem. Trying to spin up with Kompose is short. As I recall, the first line just said it was deploying then the second line asked for Username. Then the third asked for the Password. Nothing I tried worked so I figured there was an inconsistency in how Kompose authenticates with the Kubernetes cluster when using aws-Iam-authenticator. I can post those log results first thing in the morning (eastern USA). Thx again! |
@mumoshu Also, in this instance the images for these services are already built and published as public to a DTR. They're not spec'd to |
I haven't used kompose myself, but I took a look at the source and it looks like they are using an old version of client-go. Since it doesn't have the new exec based auth provider that may be causing the issue. I pulled down a copy of kubectl v1.4.1 and used it to try and get pods against a eks cluster. It prompts for username and password too. They have an open issue to move to client-go for interactions. I've added a comment on that issue to also upgrade the version of client-go being used. |
@mattlandis thx so much for the explanation! we just moved on w/o kompose. |
I had this issue too even though my
And I am using |
* allow creating an IAM role for each worker group * moved change from 'changed' to 'added' * create multiple roles not just profiles * fix config_map_aws_auth generation * don't duplicate worker-role templating * specify ARNs for worker groups individually todo fix aws_auth configmap * fixed AWS auth * fix aws_iam_instance_profile.workers name fix iam_instance_profile fallback * fix outputs * fix iam_instance_profile calculation * hopefully fix aws auth configmap generation * manually fill out remainder of arn * remove depends_on in worker_role_arns template file this was causing resources to be recreated every time * fmt * fix typo, move iam_role_id default to defaults map
I'm working through our first Kubernetes deployment from a MacOS terminal into worker nodes managed by AWS EKS.
Everything in the AWS EKS documentation is working as explained; however, I was trying to deploy a docker-compose.yml using
Kompose up
and am asked for a Username and Password.Any idea what I would use to create a Username and Password? Is this referring to a Kubernetes service account or would it be mapped to an IAM user account?
I tried to mapUsers to a IAM userarn, but I don't see what password would be used.
https://docs.aws.amazon.com/eks/latest/userguide/add-user-role.html
kubectl edit -n kube-system configmap/aws-auth
I was unable to satisfy it with an IAM user and console password.
Any help clarifying would get great appreciated.
Thx in advance!
The text was updated successfully, but these errors were encountered: