Skip to content

Commit

Permalink
Update yamls.
Browse files Browse the repository at this point in the history
Signed-off-by: jiangkaihua <jiangkaihua1@huawei.com>
  • Loading branch information
jiangkaihua committed Dec 6, 2022
1 parent f32b7e9 commit 3dc607c
Show file tree
Hide file tree
Showing 6 changed files with 62 additions and 1 deletion.
11 changes: 11 additions & 0 deletions config/crd/bases/scheduling.volcano.sh_queues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,15 @@ spec:
status:
description: The status of queue.
properties:
allocated:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: Allocated is allocated resources in queue
type: object
completed:
description: The number of `Completed` PodGroup in this queue.
format: int32
Expand Down Expand Up @@ -176,6 +185,8 @@ spec:
description: The number of 'Unknown' PodGroup in this queue.
format: int32
type: integer
required:
- allocated
type: object
type: object
served: true
Expand Down
11 changes: 11 additions & 0 deletions config/crd/v1beta1/scheduling.volcano.sh_queues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,15 @@ spec:
status:
description: The status of queue.
properties:
allocated:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: Allocated is allocated resources in queue
type: object
completed:
description: The number of `Completed` PodGroup in this queue.
format: int32
Expand Down Expand Up @@ -175,6 +184,8 @@ spec:
description: The number of 'Unknown' PodGroup in this queue.
format: int32
type: integer
required:
- allocated
type: object
type: object
version: v1beta1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,15 @@ spec:
status:
description: The status of queue.
properties:
allocated:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: Allocated is allocated resources in queue
type: object
completed:
description: The number of `Completed` PodGroup in this queue.
format: int32
Expand Down Expand Up @@ -174,6 +183,8 @@ spec:
description: The number of 'Unknown' PodGroup in this queue.
format: int32
type: integer
required:
- allocated
type: object
type: object
served: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,15 @@ spec:
status:
description: The status of queue.
properties:
allocated:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: Allocated is allocated resources in queue
type: object
completed:
description: The number of `Completed` PodGroup in this queue.
format: int32
Expand Down Expand Up @@ -173,6 +182,8 @@ spec:
description: The number of 'Unknown' PodGroup in this queue.
format: int32
type: integer
required:
- allocated
type: object
type: object
version: v1beta1
Expand Down
5 changes: 4 additions & 1 deletion installer/helm/chart/volcano/templates/scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ rules:
- apiGroups: ["scheduling.incubator.k8s.io", "scheduling.volcano.sh"]
resources: ["queues"]
verbs: ["get", "list", "watch", "create", "delete"]
- apiGroups: ["scheduling.incubator.k8s.io", "scheduling.volcano.sh"]
resources: ["queues/status"]
verbs: ["update"]
- apiGroups: ["scheduling.incubator.k8s.io", "scheduling.volcano.sh"]
resources: ["podgroups"]
verbs: ["list", "watch", "update"]
Expand Down Expand Up @@ -150,4 +153,4 @@ spec:
selector:
app: volcano-scheduler
type: ClusterIP
{{- end }}
{{- end }}
14 changes: 14 additions & 0 deletions installer/volcano-development.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8690,6 +8690,9 @@ rules:
- apiGroups: ["scheduling.incubator.k8s.io", "scheduling.volcano.sh"]
resources: ["queues"]
verbs: ["get", "list", "watch", "create", "delete"]
- apiGroups: ["scheduling.incubator.k8s.io", "scheduling.volcano.sh"]
resources: ["queues/status"]
verbs: ["update"]
- apiGroups: ["scheduling.incubator.k8s.io", "scheduling.volcano.sh"]
resources: ["podgroups"]
verbs: ["list", "watch", "update"]
Expand Down Expand Up @@ -9067,6 +9070,15 @@ spec:
status:
description: The status of queue.
properties:
allocated:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: Allocated is allocated resources in queue
type: object
completed:
description: The number of `Completed` PodGroup in this queue.
format: int32
Expand Down Expand Up @@ -9110,6 +9122,8 @@ spec:
description: The number of 'Unknown' PodGroup in this queue.
format: int32
type: integer
required:
- allocated
type: object
type: object
served: true
Expand Down

0 comments on commit 3dc607c

Please sign in to comment.