-
Notifications
You must be signed in to change notification settings - Fork 81
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
Python or Node examples: ENOENT error #149
Comments
Hi @philwinder, apparently there is an error with the environment variable |
Ah, well spotted. So this particular error is because something in serverless-kubeless doesn't like the path-like colon syntax, which is used in various places for the KUBECONFIG env var. E.g. see the docs here. Once I removed the colon and just specified the single kubeconfig, it got further. But now I get this error:
What is it trying to read? My kubeconfig is in yaml format, not json. |
Now it seems that the plugin is not able to authenticate against the cluster with the credentials in your KUBECONFIG. What is the method used there to authenticate? Which platform and version of K8s are you running? |
Thanks @andresmgot. I forgot to note, the examples in the getting started guide work successfully. So I believe it's specific to the serverless-kubeless plugin. Kubernetes running on AWS EKS.
Redacted:
|
I see, the problem is that the library we are using to connect to the K8s cluster still doesn't support EKS authentication. See: godaddy/kubernetes-client#306 (note that the As suggested in that issue you can try to use a service account token to authenticate instead. |
Performing this example: https://github.com/serverless/serverless-kubeless#try-out-the-example
I get this error. Not sure what the problem is.
Thanks.
The text was updated successfully, but these errors were encountered: