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

Guarantee does not take effect in hierarchical queues #3828

Open
hwdef opened this issue Nov 15, 2024 · 0 comments
Open

Guarantee does not take effect in hierarchical queues #3828

hwdef opened this issue Nov 15, 2024 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@hwdef
Copy link
Member

hwdef commented Nov 15, 2024

Description

cluster:

5 node
8cpu per node

queue:

image

vcjob:

apiVersion: batch.volcano.sh/v1alpha1
kind: Job
metadata:
  name: p4job-1
spec:
  minAvailable: 2
  schedulerName: volcano
  queue: aa
  tasks:
    - replicas: 2
      name: "default-nginx"
      template:
        metadata:
          name: web
        spec:
          containers:
            - image: nginx:1.27-alpine3.19-slim
              imagePullPolicy: Never
              name: nginx
              resources:
                requests:
                  cpu: 6
          restartPolicy: OnFailure
apiVersion: batch.volcano.sh/v1alpha1
kind: Job
metadata:
  name: p0job
spec:
  minAvailable: 2
  schedulerName: volcano
  queue: ab
  tasks:
    - replicas: 2
      name: "default-nginx"
      template:
        metadata:
          name: web
        spec:
          containers:
            - image: nginx:1.27-alpine3.19-slim
              imagePullPolicy: Never
              name: nginx
              resources:
                requests:
                  cpu: 6
          restartPolicy: OnFailure

Steps to reproduce the issue

  1. create all queues
  2. create all vcjobs
  3. all vcjobs is running

Describe the results you received and expected

all vcjobs is pending, because it requires insufficient resources

5x8c=40
40c-30c=10c
10c < 2x6c

What version of Volcano are you using?

1.10

Any other relevant information

No response

@hwdef hwdef added the kind/bug Categorizes issue or PR as related to a bug. label Nov 15, 2024
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

1 participant