Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Python or Node examples: ENOENT error #149
Performing this example: https://github.com/serverless/serverless-kubeless#try-out-the-example
I get this error. Not sure what the problem is.
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.
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.
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.