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

vcctl failed to load kubeconfig files in KUBECONFIG #353

Closed
hzxuzhonghu opened this issue Jul 18, 2019 · 5 comments
Closed

vcctl failed to load kubeconfig files in KUBECONFIG #353

hzxuzhonghu opened this issue Jul 18, 2019 · 5 comments
Labels
area/cli good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/bug Categorizes issue or PR as related to a bug.

Comments

@hzxuzhonghu
Copy link
Collaborator

Running the following, the env KUBECONFIG does not take effect.

$ export KUBECONFIG=/root/.kube/kind-config-volcano
$ _output/bin/linux/amd64/vcctl queue list

Failed to list queue: stat /root/.kube/config: no such file or directory
@hzxuzhonghu hzxuzhonghu added kind/bug Categorizes issue or PR as related to a bug. area/cli labels Jul 18, 2019
@TommyLike
Copy link
Contributor

Kubeconfig has to be specified distinct. Need fix.

Flags:
      --all-namespaces      list jobs in all namespaces
  -h, --help                help for list
  -k, --kubeconfig string   (optional) absolute path to the kubeconfig file (default "/root/.kube/config")
  -s, --master string       the address of apiserver
  -n, --namespace string    the namespace of job (default "default")
  -S, --scheduler string    list job with specified scheduler name
      --selector string     fuzzy matching jobName

@asifdxtreme

@asifdxtreme
Copy link
Contributor

/assign @SrinivasChilveri

@volcano-sh-bot
Copy link
Contributor

@asifdxtreme: GitHub didn't allow me to assign the following users: SrinivasChilveri.

Note that only volcano-sh members and repo collaborators can be assigned and that issues/PRs can only have 10 assignees at the same time.
For more information please see the contributor guide

In response to this:

/assign @SrinivasChilveri

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@asifdxtreme
Copy link
Contributor

/assign

@k82cn k82cn added good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. labels Sep 12, 2019
@hzxuzhonghu
Copy link
Collaborator Author

i think this is fixed by #478

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

5 participants