Skip to content
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

kubebox and AWS EKS #32

Closed
jaydeland opened this issue Jan 9, 2019 · 11 comments
Closed

kubebox and AWS EKS #32

jaydeland opened this issue Jan 9, 2019 · 11 comments
Labels

Comments

@jaydeland
Copy link

This might be related to: #7

I have not been able to login using kubebox when my terminal session is logged into AWS using the aws authenticator.

@astefanutti
Copy link
Owner

Does the "Unable to verify first certificate" message appear in the login widget? Otherwise, it may be related to #14.

Would you be able to share some details about your kube config context and the Kubebox version you're using?

@jaydeland
Copy link
Author

At first it says Authentication failed for:

Than I try to use a generated token to login and it says "Unable to verify first certificate"

@astefanutti
Copy link
Owner

Ok thanks. So it's likely related to #7. I'll try to test Kubebox on AWS EKS ASAP.

@jaydeland
Copy link
Author

@astefanutti - Thank you!

@astefanutti
Copy link
Owner

astefanutti commented Jan 15, 2019

I've been able to give AWS EKS a try with Kubebox and I've reproduced the "Unable to verify first certificate" error. This is very likely due to #7, that'll help me troubleshooting it.

Besides, Kubebox needs to support the exec field from the user Kube config info to rely on aws-iam-authenticator to authenticate and retrieve the token.

@astefanutti
Copy link
Owner

The "Unable to verify first certificate" error should be fixed with 792c0c8.

I've tested Kubebox connecting successfully to EKS using the token provided by aws-iam-authenticator token ....

I leave that issue open to track support for token generation and refresh with the user.exec field.

@berstend
Copy link

berstend commented Jan 30, 2019

Having an Authentication failed issue as well when starting kubebox for the first time. I'm using GKE and my regular shell session is signed in, etc.

Such a shame, just this single error message just looks absolutely gorgeous. Can't wait to try it once this is fixed. 😄

edit: I'm using the latest 0.4.0 release. Happy to provide more debug info if possible.

@astefanutti
Copy link
Owner

@berstend It may be a different issue with GKE. If that uses OpenID connect, it should work since version 0.4.0, but apparently it doesn't so either we have an issue with OpenID connect or GKE is configured differently. Anyway, if you can retrieve a token, you should be able to use it to authenticate as a fallback.

@astefanutti
Copy link
Owner

@berstend That'd be great if you could provide details about the kube config file section relevant to connecting to GKE. I would suggest you create a separate issue.

@PierreBeucher
Copy link

Same issue but did not have aws-iam-authenticator available. I instead used

aws eks get-token --cluster-name [my-cluster] 

To get a token to authenticate with Kubebox

@astefanutti
Copy link
Owner

It should now be supported starting version 0.6.0. Thanks for your patience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants