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

如何使得volcanojob的状态和pod的ready状态保持一致 #3455

Open
jyn244636695 opened this issue May 8, 2024 · 6 comments
Open

Comments

@jyn244636695
Copy link

我在用到了k8s的readyprobe探针,当业务未完成部署时 pod的ready状态未0/1。当pod的ready状态发生变化时,volcano的job的状态一直都处于running状态。检测不到volcanojob的status状态变化,这是否是volcano需要优化的地方?如果不是,怎么配置可以让volcano或者k8s感知到pod的就绪状态的变化。
image
image

@Monokaix
Copy link
Member

Monokaix commented May 9, 2024

The running state of volcano job derived from pod, so volcano job shows running state when pod is running, even pod is not ready, it's in running state, so volcano job is in running state, and volcano job is not aware of ready state of pod.

@rockburning
Copy link

rockburning commented May 10, 2024

我在用到了k8s的readyprobe探针,当业务未完成部署时 pod的ready状态未0/1。当pod的ready状态发生变化时,volcano的job的状态一直都处于running状态。检测不到volcanojob的status状态变化,这是否是volcano需要优化的地方?如果不是,怎么配置可以让volcano或者k8s感知到pod的就绪状态的变化。 image image

Also meet the problem; pod ready status volcano cannot get ; handle it in application layer

@Monokaix
Copy link
Member

我在用到了k8s的readyprobe探针,当业务未完成部署时 pod的ready状态未0/1。当pod的ready状态发生变化时,volcano的job的状态一直都处于running状态。检测不到volcanojob的status状态变化,这是否是volcano需要优化的地方?如果不是,怎么配置可以让volcano或者k8s感知到pod的就绪状态的变化。 image image

Also meet the problem; pod ready status volcano cannot get ; handle it in application layer

Yeah, voclano won't care pod's ready status: )

@rockburning
Copy link

我在用到了k8s的readyprobe探针,当业务未完成部署时 pod的ready状态未0/1。当pod的ready状态发生变化时,volcano的job的状态一直都处于running状态。检测不到volcanojob的status状态变化,这是否是volcano需要优化的地方?如果不是,怎么配置可以让volcano或者k8s感知到pod的就绪状态的变化。 image image

Also meet the problem; pod ready status volcano cannot get ; handle it in application layer

Yeah, voclano won't care pod's ready status: )

Is there any plan to add anather status for vcjob for ready ;as we care the ready status ; in k8s,svc also check the pod ready status

@Monokaix
Copy link
Member

我在用到了k8s的readyprobe探针,当业务未完成部署时 pod的ready状态未0/1。当pod的ready状态发生变化时,volcano的job的状态一直都处于running状态。检测不到volcanojob的status状态变化,这是否是volcano需要优化的地方?如果不是,怎么配置可以让volcano或者k8s感知到pod的就绪状态的变化。 image image

Also meet the problem; pod ready status volcano cannot get ; handle it in application layer

Yeah, voclano won't care pod's ready status: )

Is there any plan to add anather status for vcjob for ready ;as we care the ready status ; in k8s,svc also check the pod ready status

Can you describe your use case here?ready status depend on container status of pod, vcjob manage pods belong to it, not container granularity.

@rockburning
Copy link

rockburning commented May 11, 2024 via email

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

No branches or pull requests

3 participants