-
Notifications
You must be signed in to change notification settings - Fork 297
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
BuildConfigFromConfigFile explanation missing #91
Comments
#24 the sdk should have same behavior as kubectl |
do you mean
I just replaced some thing that might be important, hope that helps. Feel free to ask me for any additional information if needed |
auth-provider is not supported at the time. 😢 |
by the way |
@tg123 may you please describe it it more details? it seems like it might be a good addition to readme |
@mac2000 did not tested get token from https://cloud.google.com/docs/authentication/production#obtaining_credentials_on_compute_engine_kubernetes_engine_app_engine_flexible_environment_and_cloud_functions first create a client from |
Arghhh, it was painful So from docs I we able to get default access token, so even do not need any google auth stuff But then got macos related troubles with ssl verification And only then I have realized what it should be done, so if you are running kubernetes inside google cloud and just wish to play around with api and wish not to configure everything all you should do:
And in your program:
And everything will start working immediately :) Not sure if it should be mentioned somewhere in readme or not |
explanation of how to connect from lacal machine to Google Cloud Kubernetes without headache, close kubernetes-client#91
* connect to GCP GKE from local machine explanation of how to connect from lacal machine to Google Cloud Kubernetes without headache, close #91 * connect to cluster from a local machine add preferred way of connecting to cluster, add alternative way with proxy for non supported auth providers * known issues and its workarounds
What's the production-ready approach here? Using |
@samuela someone needs to write support for GCP for this library. |
Hello, I'm trying to run code copied from examples but got
Unhandled Exception: k8s.Exceptions.KubeConfigException: User: X does not have appropriate auth credentials in kubeconfig
Can not find instructions in readme how should we run code locally agains google cloud kubernetes
I do have
~/.kube
and commands likekubectl get pods
are working as expectedThe text was updated successfully, but these errors were encountered: