Skip to content

Commit c2d2859

Browse files
committed
update apis
1 parent a895db3 commit c2d2859

File tree

5 files changed

+80
-33
lines changed

5 files changed

+80
-33
lines changed

openapi/generated_openapi/zz_generated.openapi.go

+14-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi/openapi.json

+15-12
Original file line numberDiff line numberDiff line change
@@ -33360,17 +33360,20 @@
3336033360
},
3336133361
"com.github.openshift.api.operator.v1alpha1.Integrations": {
3336233362
"type": "object",
33363+
"required": [
33364+
"frameworks"
33365+
],
3336333366
"properties": {
3336433367
"externalFrameworks": {
33365-
"description": "externalFrameworks List of GroupVersionKinds that are managed for Kueue by external controllers; the expected format is `Kind.version.group.com`.",
33368+
"description": "externalFrameworks are a list of GroupVersionKinds that are managed for Kueue by external controllers; the expected format is `Kind.version.group.com`. As far as",
3336633369
"type": "array",
3336733370
"items": {
3336833371
"type": "string",
3336933372
"default": ""
3337033373
}
3337133374
},
3337233375
"frameworks": {
33373-
"description": "frameworks List of framework names to be enabled. Possible options:\n - \"batch/job\"\n - \"kubeflow.org/mpijob\"\n - \"ray.io/rayjob\"\n - \"ray.io/raycluster\"\n - \"jobset.x-k8s.io/jobset\"\n - \"kubeflow.org/paddlejob\"\n - \"kubeflow.org/pytorchjob\"\n - \"kubeflow.org/tfjob\"\n - \"kubeflow.org/xgboostjob\"\n - \"workload.codeflare.dev/appwrapper\"\n - \"pod\"\n - \"deployment\" (requires enabling pod integration)\n - \"statefulset\" (requires enabling pod integration)\n - \"leaderworkerset.x-k8s.io/leaderworkerset\" (requires enabling pod integration)",
33376+
"description": "frameworks are a list of names to be enabled. Possible options:\n - \"batch/job\"\n - \"kubeflow.org/mpijob\"\n - \"ray.io/rayjob\"\n - \"ray.io/raycluster\"\n - \"jobset.x-k8s.io/jobset\"\n - \"kubeflow.org/paddlejob\"\n - \"kubeflow.org/pytorchjob\"\n - \"kubeflow.org/tfjob\"\n - \"kubeflow.org/xgboostjob\"\n - \"workload.codeflare.dev/appwrapper\"\n - \"pod\"\n - \"deployment\" (requires enabling pod integration)\n - \"statefulset\" (requires enabling pod integration)\n - \"leaderworkerset.x-k8s.io/leaderworkerset\" (requires enabling pod integration)",
3337433377
"type": "array",
3337533378
"items": {
3337633379
"type": "string",
@@ -33388,7 +33391,7 @@
3338833391
}
3338933392
},
3339033393
"com.github.openshift.api.operator.v1alpha1.Kueue": {
33391-
"description": "Kueue is the Schema for the kueue API Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.",
33394+
"description": "Kueue is the CRD to represent the kueue operator This CRD defines the configuration that the Kueue Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.",
3339233395
"type": "object",
3339333396
"required": [
3339433397
"spec"
@@ -33422,8 +33425,7 @@
3342233425
"com.github.openshift.api.operator.v1alpha1.KueueConfiguration": {
3342333426
"type": "object",
3342433427
"required": [
33425-
"integrations",
33426-
"metrics"
33428+
"integrations"
3342733429
],
3342833430
"properties": {
3342933431
"fairSharing": {
@@ -33449,11 +33451,11 @@
3344933451
"type": "string"
3345033452
},
3345133453
"managedJobsNamespaceSelector": {
33452-
"description": "managedJobsNamespaceSelector can be used to omit some namespaces from ManagedJobsWithoutQueueName",
33454+
"description": "managedJobsNamespaceSelector can be used to omit some namespaces from ManagedJobsWithoutQueueName Only valid if ManagedJobsWithoutQueueName is NoQueueName",
3345333455
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"
3345433456
},
3345533457
"metrics": {
33456-
"description": "Metrics Microshift does not enable metrics by default Default will assume metrics are enabled.",
33458+
"description": "metrics allows one to change if metrics are enabled or disabled. Microshift does not enable metrics by default Default will assume metrics are enabled.",
3345733459
"type": "string"
3345833460
},
3345933461
"resources": {
@@ -33480,7 +33482,7 @@
3348033482
"type": "string"
3348133483
},
3348233484
"items": {
33483-
"description": "items is a slice of kueue",
33485+
"description": "items is a slice of kueue this is a cluster scoped resource and there can only be 1 kueue",
3348433486
"type": "array",
3348533487
"items": {
3348633488
"default": {},
@@ -33927,7 +33929,7 @@
3392733929
"type": "object",
3392833930
"properties": {
3392933931
"backoffBaseSeconds": {
33930-
"description": "BackoffBaseSeconds defines the base for the exponential backoff for re-queuing an evicted workload.\n\nDefaults to 60.",
33932+
"description": "backoffBaseSeconds defines the base for the exponential backoff for re-queuing an evicted workload.\n\nDefaults to 60.",
3393133933
"type": "integer",
3393233934
"format": "int32"
3393333935
},
@@ -33937,7 +33939,7 @@
3393733939
"format": "int32"
3393833940
},
3393933941
"backoffMaxSeconds": {
33940-
"description": "BackoffMaxSeconds defines the maximum backoff time to re-queue an evicted workload.\n\nDefaults to 3600.",
33942+
"description": "backoffMaxSeconds defines the maximum backoff time to re-queue an evicted workload.\n\nDefaults to 3600.",
3394133943
"type": "integer",
3394233944
"format": "int32"
3394333945
},
@@ -33966,16 +33968,17 @@
3396633968
}
3396733969
},
3396833970
"strategy": {
33969-
"description": "strategy specifies if the input resource should be replaced or retained. Defaults to Retain",
33971+
"description": "strategy specifies if the input resource should be replaced or retained.",
3397033972
"type": "string"
3397133973
}
3397233974
}
3397333975
},
3397433976
"com.github.openshift.api.operator.v1alpha1.Resources": {
33977+
"description": "These structs come directly from Kueue.",
3397533978
"type": "object",
3397633979
"properties": {
3397733980
"excludeResourcePrefixes": {
33978-
"description": "excludedResourcePrefixes defines which resources should be ignored by Kueue",
33981+
"description": "excludeResourcePrefixes defines which resources should be ignored by Kueue",
3397933982
"type": "array",
3398033983
"items": {
3398133984
"type": "string",

operator/v1alpha1/zz_generated.featuregated-crd-manifests.yaml

+21
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,27 @@ imagecontentsourcepolicies.operator.openshift.io:
6666
TopLevelFeatureGates: []
6767
Version: v1alpha1
6868

69+
kueue.operator.openshift.io:
70+
Annotations: {}
71+
ApprovedPRNumber: ""
72+
CRDName: kueue.operator.openshift.io
73+
Capability: ""
74+
Category: ""
75+
FeatureGates: []
76+
FilenameOperatorName: ""
77+
FilenameOperatorOrdering: ""
78+
FilenameRunLevel: ""
79+
GroupName: operator.openshift.io
80+
HasStatus: true
81+
KindName: Kueue
82+
Labels: {}
83+
PluralName: kueue
84+
PrinterColumns: []
85+
Scope: Cluster
86+
ShortNames: null
87+
TopLevelFeatureGates: []
88+
Version: v1alpha1
89+
6990
olms.operator.openshift.io:
7091
Annotations:
7192
include.release.openshift.io/ibm-cloud-managed: "false"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
feature-gate.release.openshift.io/: "true"
6+
name: kueue.operator.openshift.io
7+
spec:
8+
group: operator.openshift.io
9+
names:
10+
kind: Kueue
11+
listKind: KueueList
12+
plural: kueue
13+
singular: kueue
14+
scope: Cluster
15+
versions:
16+
- name: v1alpha1
17+
served: true
18+
storage: true
19+
subresources:
20+
status: {}

0 commit comments

Comments
 (0)