Skip to content

Commit

Permalink
Regenerate code after adding managedBy field
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Szadkowski <[email protected]>
  • Loading branch information
mszadkow committed Sep 23, 2024
1 parent 1556f2a commit cad7750
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 1 deletion.
11 changes: 11 additions & 0 deletions deploy/v2beta1/mpi-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7757,6 +7757,17 @@ spec:
CleanPodPolicy defines the policy to kill pods after the job completes.
Default to Running.
type: string
managedBy:
description: |-
ManagedBy is used to indicate the controller or entity that manages a job.
The value must be either an empty, 'kubeflow.org/mpi-operator' or
'kueue.x-k8s.io/multikueue'.
The mpi-operator reconciles a job which doesn't have this
field at all or the field value is the reserved string
'kubeflow.org/mpi-operator', but delegates reconciling the job
with 'kueue.x-k8s.io/multikueue' to the Kueue.
The field is immutable.
type: string
schedulingPolicy:
description: SchedulingPolicy defines the policy related to scheduling,
e.g. gang-scheduling
Expand Down
4 changes: 4 additions & 0 deletions pkg/apis/kubeflow/v2beta1/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,10 @@
"description": "CleanPodPolicy defines the policy to kill pods after the job completes. Default to Running.",
"type": "string"
},
"managedBy": {
"description": "ManagedBy is used to indicate the controller or entity that manages a job. The value must be either an empty, 'kubeflow.org/mpi-operator' or 'kueue.x-k8s.io/multikueue'. The mpi-operator reconciles a job which doesn't have this field at all or the field value is the reserved string 'kubeflow.org/mpi-operator', but delegates reconciling the job with 'kueue.x-k8s.io/multikueue' to the Kueue. The field is immutable.",
"type": "string"
},
"schedulingPolicy": {
"description": "SchedulingPolicy defines the policy related to scheduling, e.g. gang-scheduling",
"$ref": "#/definitions/v2beta1.SchedulingPolicy"
Expand Down
5 changes: 5 additions & 0 deletions pkg/apis/kubeflow/v2beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions pkg/client/applyconfiguration/kubeflow/v2beta1/runpolicy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions sdk/python/v2beta1/docs/V2beta1RunPolicy.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 29 additions & 1 deletion sdk/python/v2beta1/mpijob/models/v2beta1_run_policy.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cad7750

Please sign in to comment.