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

CLI failed to find kubeconfig when kubectl kudo get instances is run #548

Closed
fabianbaier opened this issue Jul 10, 2019 · 0 comments · Fixed by #553
Closed

CLI failed to find kubeconfig when kubectl kudo get instances is run #548

fabianbaier opened this issue Jul 10, 2019 · 0 comments · Fixed by #553
Labels
Milestone

Comments

@fabianbaier
Copy link
Member

What happened:

When running kubectl kudo get instances the CLI prints out error messages related missing kubeconfig files.

$ kubectl kudo get instances
2019/07/10 13:13:33 Could not check kubeconfig path: failed to find kubeconfig file: stat : no such file or directory
2019/07/10 13:13:33 Error: invalid configuration: no configuration has been provided
List of current instances in namespace "default":
.


kubectl get instances works fine.

What you expected to happen:

Having the command run without any error messages.

How to reproduce it (as minimally and precisely as possible):

Run kubectl kudo get instances.

Anything else we need to know?:

Environment:

  • Kubernetes version (use kubectl version):
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.0", GitCommit:"e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529", GitTreeState:"clean", BuildDate:"2019-06-20T04:49:16Z", GoVersion:"go1.12.6", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.0", GitCommit:"e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529", GitTreeState:"clean", BuildDate:"2019-06-19T16:32:14Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}

  • Kudo version (use kubectl kudo version):
KUDO Version: version.Info{GitVersion:"0.3.1", GitCommit:"0addb5bb", BuildDate:"2019-07-09T09:16:42Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"darwin/amd64"}
  • Operator:
  • operatorVersion:
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant