Skip to content

Commit

Permalink
update crds
Browse files Browse the repository at this point in the history
Signed-off-by: dongjiang <[email protected]>
  • Loading branch information
dongjiang1989 committed Dec 10, 2024
1 parent bd733ec commit 09222e0
Show file tree
Hide file tree
Showing 5 changed files with 238 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ spec:
path:
type: string
port:
maximum: 65535
minimum: 0
type: integer
taskName:
type: string
Expand All @@ -75,6 +77,8 @@ spec:
items:
properties:
port:
maximum: 65535
minimum: 0
type: integer
taskName:
type: string
Expand All @@ -89,12 +93,16 @@ spec:
type: array
type: object
name:
minLength: 1
type: string
required:
- name
type: object
type: array
jobRetainPolicy:
enum:
- retain
- delete
type: string
type: object
status:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ spec:
spec:
properties:
maxRetry:
default: 3
format: int32
type: integer
minAvailable:
Expand All @@ -49,9 +50,33 @@ spec:
action:
type: string
event:
enum:
- '*'
- PodPending
- PodRunning
- PodFailed
- PodEvicted
- Unknown
- TaskCompleted
- OutOfSync
- CommandIssued
- JobUpdated
- TaskFailed
type: string
events:
items:
enum:
- '*'
- PodPending
- PodRunning
- PodFailed
- PodEvicted
- Unknown
- TaskCompleted
- OutOfSync
- CommandIssued
- JobUpdated
- TaskFailed
type: string
type: array
exitCode:
Expand Down Expand Up @@ -95,9 +120,33 @@ spec:
action:
type: string
event:
enum:
- '*'
- PodPending
- PodRunning
- PodFailed
- PodEvicted
- Unknown
- TaskCompleted
- OutOfSync
- CommandIssued
- JobUpdated
- TaskFailed
type: string
events:
items:
enum:
- '*'
- PodPending
- PodRunning
- PodFailed
- PodEvicted
- Unknown
- TaskCompleted
- OutOfSync
- CommandIssued
- JobUpdated
- TaskFailed
type: string
type: array
exitCode:
Expand Down Expand Up @@ -3738,6 +3787,11 @@ spec:
type: object
type: object
topologyPolicy:
enum:
- none
- best-effort
- restricted
- single-numa-node
type: string
type: object
type: array
Expand Down
54 changes: 54 additions & 0 deletions installer/helm/chart/volcano/crd/bases/batch.volcano.sh_jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ spec:
spec:
properties:
maxRetry:
default: 3
format: int32
type: integer
minAvailable:
Expand All @@ -67,9 +68,33 @@ spec:
action:
type: string
event:
enum:
- '*'
- PodPending
- PodRunning
- PodFailed
- PodEvicted
- Unknown
- TaskCompleted
- OutOfSync
- CommandIssued
- JobUpdated
- TaskFailed
type: string
events:
items:
enum:
- '*'
- PodPending
- PodRunning
- PodFailed
- PodEvicted
- Unknown
- TaskCompleted
- OutOfSync
- CommandIssued
- JobUpdated
- TaskFailed
type: string
type: array
exitCode:
Expand Down Expand Up @@ -113,9 +138,33 @@ spec:
action:
type: string
event:
enum:
- '*'
- PodPending
- PodRunning
- PodFailed
- PodEvicted
- Unknown
- TaskCompleted
- OutOfSync
- CommandIssued
- JobUpdated
- TaskFailed
type: string
events:
items:
enum:
- '*'
- PodPending
- PodRunning
- PodFailed
- PodEvicted
- Unknown
- TaskCompleted
- OutOfSync
- CommandIssued
- JobUpdated
- TaskFailed
type: string
type: array
exitCode:
Expand Down Expand Up @@ -3756,6 +3805,11 @@ spec:
type: object
type: object
topologyPolicy:
enum:
- none
- best-effort
- restricted
- single-numa-node
type: string
type: object
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,13 @@ spec:
description: CPUInfo is the cpu topology detail
properties:
core:
minimum: 0
type: integer
numa:
minimum: 0
type: integer
socket:
minimum: 0
type: integer
type: object
description: |-
Expand Down
Loading

0 comments on commit 09222e0

Please sign in to comment.