Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.

My kube-batch can t read the configuration file #923

Closed
b675987273 opened this issue Dec 23, 2019 · 3 comments
Closed

My kube-batch can t read the configuration file #923

b675987273 opened this issue Dec 23, 2019 · 3 comments

Comments

@b675987273
Copy link

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug
I think it is a bug.

What happened:
We can see the log.

Failed to read scheduler configuration '/root/lijunhui/kube-batch/example/kube-batch-conf.yaml', using default configuration: open /root/lijunhui/kube-batch/example/kube-batch-conf.yaml: no such file or directory

But the file exicts.

What you expected to happen:
This log will never exict.

How to reproduce it (as minimally and precisely as possible):
You can have a try with the following deployment yaml.

...
containers:
      - args:
        - --logtostderr
        - --v
        - "3"
        - --scheduler-conf=/root/lijunhui/kube-batch/example/kube-batch-conf.yaml
        image: docker.cambricon.com/library/kubesigs/kube-batch:v0.5
...

Anything else we need to know?:

Environment:

  • Kubernetes version (use kubectl version):1.14
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):Linux machine34 3.10.0-1062.1.2.el7.x86_64 typo fixes #1 SMP Mon Sep 30 14:19:46 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
  • Install tools:
  • Others:
@k82cn
Copy link
Contributor

k82cn commented Dec 23, 2019

Did you mount kube-batch-conf.yaml into your container?

BTW, did you try http://github.com/volcano-sh/volcano ?

@b675987273
Copy link
Author

hhhha, I m so sorry.Thanks

@k82cn
Copy link
Contributor

k82cn commented Dec 24, 2019

:) , my pleasure

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants