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

通过 volcano创建job时失败 #3331

Open
jp2246 opened this issue Feb 28, 2024 · 1 comment
Open

通过 volcano创建job时失败 #3331

jp2246 opened this issue Feb 28, 2024 · 1 comment
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@jp2246
Copy link

jp2246 commented Feb 28, 2024

job yaml:

cat job-task.yaml

apiVersion: batch.volcano.sh/v1alpha1
kind: Job
metadata:
name: job-6
spec:
minAvailable: 1
schedulerName: volcano
queue: gpu-queue
policies:
- event: PodEvicted
action: RestartJob
tasks:
- replicas: 1
name: nginx
policies:
- event: TaskCompleted
action: CompleteJob
template:
spec:
containers:
- command:
- sleep
- 10m
image: nginx:latest
name: nginx
resources:
requests:
cpu: 1
nvidia.com/gpu: 1
limits:
cpu: 1
nvidia.com/gpu: 1
env:
- name: jobname
value: "xqqjob"
restartPolicy: Never

中的日志
kubectl logs -f -n volcano-system volcano-controllers-d945d85bd-nd95l
image

volcano-admission pod中没中没看到什么报错
image

@jp2246 jp2246 added the kind/bug Categorizes issue or PR as related to a bug. label Feb 28, 2024
@Monokaix
Copy link
Member

Monokaix commented Mar 1, 2024

The request to webhook comes from kube-apiserver, you should check your network connection between them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants