-
Notifications
You must be signed in to change notification settings - Fork 712
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
Extend kubernetes client flags to match kubectl #1813
Conversation
In order to use k8s.io/kubernetes/pkg/client/unversioned/clientcmd/client_config.go
@mindfulmonk would you mind testing this to confirm it solves your problem? You can use the Docker image |
@2opremio Not a problem, just waiting for it to appear in https://hub.docker.com/r/weaveworks/scope/tags/ ;) |
Ops, please try again, it should be there now |
Circle is incorrectly bitching about spelling mistakes. |
If you don't provide a kubernetes context, will it use the current context? |
Yes, just like kubectl (that's what my experimentation shows with our service kubeconfig files). |
51230e8
to
4b0f152
Compare
3d124f9
to
f8a67a4
Compare
} | ||
log.Infof("kubernetes: targetting api server %s", restConfig.Host) |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
LGTM, modulo spelling mistake. |
Fixes #1810