Skip to content

Commit 89d51b0

Browse files
committed
Update Kueue to 0.9.0
1 parent ba2bb1a commit 89d51b0

File tree

6 files changed

+123
-237
lines changed

6 files changed

+123
-237
lines changed

config/crd/bases/workload.codeflare.dev_appwrappers.yaml

Lines changed: 7 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.5
77
name: appwrappers.workload.codeflare.dev
88
spec:
99
group: workload.codeflare.dev
@@ -187,24 +187,12 @@ spec:
187187
description: |-
188188
Conditions hold the latest available observations of the Component's current state.
189189
190-
191190
The type of the condition could be:
192191
193-
194192
- ResourcesDeployed: The component is deployed on the cluster
195193
items:
196-
description: "Condition contains details for one aspect of
197-
the current state of this API Resource.\n---\nThis struct
198-
is intended for direct use as an array at the field path
199-
.status.conditions. For example,\n\n\n\ttype FooStatus
200-
struct{\n\t // Represents the observations of a foo's
201-
current state.\n\t // Known .status.conditions.type are:
202-
\"Available\", \"Progressing\", and \"Degraded\"\n\t //
203-
+patchMergeKey=type\n\t // +patchStrategy=merge\n\t //
204-
+listType=map\n\t // +listMapKey=type\n\t Conditions
205-
[]metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\"
206-
patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
207-
\ // other fields\n\t}"
194+
description: Condition contains details for one aspect of
195+
the current state of this API Resource.
208196
properties:
209197
lastTransitionTime:
210198
description: |-
@@ -246,12 +234,7 @@ spec:
246234
- Unknown
247235
type: string
248236
type:
249-
description: |-
250-
type of condition in CamelCase or in foo.example.com/CamelCase.
251-
---
252-
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
253-
useful (see .node.status.conditions), the ability to deconflict is important.
254-
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
237+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
255238
maxLength: 316
256239
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
257240
type: string
@@ -303,26 +286,16 @@ spec:
303286
description: |-
304287
Conditions hold the latest available observations of the AppWrapper current state.
305288
306-
307289
The type of the condition could be:
308290
309-
310291
- QuotaReserved: The AppWrapper was admitted by Kueue and has quota allocated to it
311292
- ResourcesDeployed: The contained resources are deployed (or being deployed) on the cluster
312293
- PodsReady: All pods of the contained resources are in the Ready or Succeeded state
313294
- Unhealthy: One or more of the contained resources is unhealthy
314295
- DeletingResources: The contained resources are in the process of being deleted from the cluster
315296
items:
316-
description: "Condition contains details for one aspect of the current
317-
state of this API Resource.\n---\nThis struct is intended for
318-
direct use as an array at the field path .status.conditions. For
319-
example,\n\n\n\ttype FooStatus struct{\n\t // Represents the
320-
observations of a foo's current state.\n\t // Known .status.conditions.type
321-
are: \"Available\", \"Progressing\", and \"Degraded\"\n\t //
322-
+patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
323-
\ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\"
324-
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
325-
\ // other fields\n\t}"
297+
description: Condition contains details for one aspect of the current
298+
state of this API Resource.
326299
properties:
327300
lastTransitionTime:
328301
description: |-
@@ -363,12 +336,7 @@ spec:
363336
- Unknown
364337
type: string
365338
type:
366-
description: |-
367-
type of condition in CamelCase or in foo.example.com/CamelCase.
368-
---
369-
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
370-
useful (see .node.status.conditions), the ability to deconflict is important.
371-
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
339+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
372340
maxLength: 316
373341
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
374342
type: string

config/rbac/role.yaml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,6 @@ rules:
4747
- admissionregistration.k8s.io
4848
resources:
4949
- mutatingwebhookconfigurations
50-
verbs:
51-
- get
52-
- list
53-
- update
54-
- watch
55-
- apiGroups:
56-
- admissionregistration.k8s.io
57-
resources:
5850
- validatingwebhookconfigurations
5951
verbs:
6052
- get
@@ -124,13 +116,6 @@ rules:
124116
- kueue.x-k8s.io
125117
resources:
126118
- resourceflavors
127-
verbs:
128-
- get
129-
- list
130-
- watch
131-
- apiGroups:
132-
- kueue.x-k8s.io
133-
resources:
134119
- workloadpriorityclasses
135120
verbs:
136121
- get
@@ -185,17 +170,6 @@ rules:
185170
- watch
186171
- apiGroups:
187172
- scheduling.sigs.k8s.io
188-
resources:
189-
- podgroups
190-
verbs:
191-
- create
192-
- delete
193-
- get
194-
- list
195-
- patch
196-
- update
197-
- watch
198-
- apiGroups:
199173
- scheduling.x-k8s.io
200174
resources:
201175
- podgroups

go.mod

Lines changed: 37 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
module github.com/project-codeflare/appwrapper
22

3-
go 1.22.4
3+
go 1.23.0
44

55
require (
66
github.com/distribution/reference v0.5.0
77
github.com/go-logr/logr v1.4.2
88
github.com/golangci/golangci-lint v1.60.1
9-
github.com/onsi/ginkgo/v2 v2.19.0
10-
github.com/onsi/gomega v1.33.1
11-
github.com/open-policy-agent/cert-controller v0.10.1
9+
github.com/onsi/ginkgo/v2 v2.21.0
10+
github.com/onsi/gomega v1.35.1
11+
github.com/open-policy-agent/cert-controller v0.11.0
1212
go.uber.org/zap v1.27.0
13-
k8s.io/api v0.30.2
14-
k8s.io/apimachinery v0.30.2
15-
k8s.io/client-go v0.29.6
16-
k8s.io/utils v0.0.0-20240502163921-fe8a2dddb1d0
17-
sigs.k8s.io/controller-runtime v0.17.5
18-
sigs.k8s.io/controller-tools v0.14.0
19-
sigs.k8s.io/kueue v0.8.3
20-
sigs.k8s.io/kustomize/kustomize/v5 v5.3.0
13+
k8s.io/api v0.31.2
14+
k8s.io/apimachinery v0.31.2
15+
k8s.io/client-go v0.31.2
16+
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8
17+
sigs.k8s.io/controller-runtime v0.19.1
18+
sigs.k8s.io/controller-tools v0.16.5
19+
sigs.k8s.io/kueue v0.9.0
20+
sigs.k8s.io/kustomize/kustomize/v5 v5.5.0
2121
sigs.k8s.io/yaml v1.4.0
2222
)
2323

@@ -28,29 +28,32 @@ require (
2828
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
2929
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
3030
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
31-
github.com/fatih/color v1.17.0 // indirect
32-
github.com/fsnotify/fsnotify v1.7.0 // indirect
31+
github.com/fatih/color v1.18.0 // indirect
32+
github.com/fsnotify/fsnotify v1.8.0 // indirect
33+
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
3334
github.com/go-errors/errors v1.4.2 // indirect
3435
github.com/go-logr/zapr v1.3.0 // indirect
3536
github.com/go-openapi/jsonpointer v0.21.0 // indirect
3637
github.com/go-openapi/jsonreference v0.21.0 // indirect
3738
github.com/go-openapi/swag v0.23.0 // indirect
3839
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
39-
github.com/gobuffalo/flect v1.0.2 // indirect
40+
github.com/gobuffalo/flect v1.0.3 // indirect
4041
github.com/gogo/protobuf v1.3.2 // indirect
4142
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
4243
github.com/golang/protobuf v1.5.4 // indirect
4344
github.com/google/gnostic-models v0.6.8 // indirect
4445
github.com/google/go-cmp v0.6.0 // indirect
4546
github.com/google/gofuzz v1.2.0 // indirect
46-
github.com/google/pprof v0.0.0-20240424215950-a892ee059fd6 // indirect
47+
github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db // indirect
4748
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
4849
github.com/google/uuid v1.6.0 // indirect
4950
github.com/imdario/mergo v0.3.16 // indirect
5051
github.com/inconshreveable/mousetrap v1.1.0 // indirect
5152
github.com/josharian/intern v1.0.0 // indirect
5253
github.com/json-iterator/go v1.1.12 // indirect
5354
github.com/klauspost/compress v1.17.9 // indirect
55+
github.com/kubeflow/mpi-operator v0.6.0 // indirect
56+
github.com/kubeflow/training-operator v1.8.1 // indirect
5457
github.com/mailru/easyjson v0.7.7 // indirect
5558
github.com/mattn/go-colorable v0.1.13 // indirect
5659
github.com/mattn/go-isatty v0.0.20 // indirect
@@ -60,40 +63,41 @@ require (
6063
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
6164
github.com/opencontainers/go-digest v1.0.0 // indirect
6265
github.com/pkg/errors v0.9.1 // indirect
63-
github.com/prometheus/client_golang v1.20.2 // indirect
66+
github.com/prometheus/client_golang v1.20.5 // indirect
6467
github.com/prometheus/client_model v0.6.1 // indirect
6568
github.com/prometheus/common v0.57.0 // indirect
6669
github.com/prometheus/procfs v0.15.1 // indirect
70+
github.com/sirupsen/logrus v1.9.3 // indirect
6771
github.com/spf13/cobra v1.8.1 // indirect
6872
github.com/spf13/pflag v1.0.5 // indirect
73+
github.com/x448/float16 v0.8.4 // indirect
6974
github.com/xlab/treeprint v1.2.0 // indirect
70-
go.starlark.net v0.0.0-20230525235612-a134d8f9ddca // indirect
7175
go.uber.org/atomic v1.11.0 // indirect
7276
go.uber.org/multierr v1.11.0 // indirect
73-
golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8 // indirect
74-
golang.org/x/mod v0.20.0 // indirect
75-
golang.org/x/net v0.28.0 // indirect
77+
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
78+
golang.org/x/mod v0.21.0 // indirect
79+
golang.org/x/net v0.30.0 // indirect
7680
golang.org/x/oauth2 v0.21.0 // indirect
7781
golang.org/x/sync v0.8.0 // indirect
78-
golang.org/x/sys v0.23.0 // indirect
79-
golang.org/x/term v0.23.0 // indirect
80-
golang.org/x/text v0.17.0 // indirect
82+
golang.org/x/sys v0.26.0 // indirect
83+
golang.org/x/term v0.25.0 // indirect
84+
golang.org/x/text v0.19.0 // indirect
8185
golang.org/x/time v0.5.0 // indirect
82-
golang.org/x/tools v0.24.0 // indirect
86+
golang.org/x/tools v0.26.0 // indirect
8387
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
84-
google.golang.org/protobuf v1.34.2 // indirect
88+
google.golang.org/protobuf v1.35.1 // indirect
8589
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
8690
gopkg.in/inf.v0 v0.9.1 // indirect
8791
gopkg.in/yaml.v2 v2.4.0 // indirect
8892
gopkg.in/yaml.v3 v3.0.1 // indirect
89-
k8s.io/apiextensions-apiserver v0.29.6 // indirect
90-
k8s.io/apiserver v0.29.6 // indirect
91-
k8s.io/component-base v0.29.6 // indirect
93+
k8s.io/apiextensions-apiserver v0.31.2 // indirect
94+
k8s.io/apiserver v0.31.2 // indirect
95+
k8s.io/component-base v0.31.2 // indirect
9296
k8s.io/klog/v2 v2.130.1 // indirect
93-
k8s.io/kube-openapi v0.0.0-20240620174524-b456828f718b // indirect
94-
sigs.k8s.io/jobset v0.5.2 // indirect
97+
k8s.io/kube-openapi v0.0.0-20240812233141-91dab695df6f // indirect
98+
sigs.k8s.io/jobset v0.7.0 // indirect
9599
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
96-
sigs.k8s.io/kustomize/api v0.17.2 // indirect
97-
sigs.k8s.io/kustomize/kyaml v0.17.1 // indirect
100+
sigs.k8s.io/kustomize/api v0.18.0 // indirect
101+
sigs.k8s.io/kustomize/kyaml v0.18.1 // indirect
98102
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
99103
)

0 commit comments

Comments
 (0)