Skip to content

Commit 5d5e8ca

Browse files
Merge pull request #623 from ingvagabund/k8s-bump
CNTRLPLANE-1054: rebase k8s (1.33.2), openshift (4.20) and other underlying dependencies
2 parents fc67d15 + 5c24fca commit 5d5e8ca

File tree

1,355 files changed

+81176
-32734
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,355 files changed

+81176
-32734
lines changed

.ci-operator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
build_root_image:
22
name: release
33
namespace: openshift
4-
tag: rhel-9-release-golang-1.23-openshift-4.19
4+
tag: rhel-9-release-golang-1.24-openshift-4.20

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.23 as builder
1+
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.24 as builder
22
WORKDIR /go/src/github.com/openshift/cluster-kube-descheduler-operator
33
COPY . .
44
RUN make build --warn-undefined-variables

Dockerfile.rhel7

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.23-openshift-4.19 AS builder
1+
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.20 AS builder
22
WORKDIR /go/src/github.com/openshift/cluster-kube-descheduler-operator
33
COPY . .
44
RUN make build --warn-undefined-variables
55

6-
FROM registry.ci.openshift.org/ocp/builder:rhel-9-base-openshift-4.19
6+
FROM registry.ci.openshift.org/ocp/4.20:base-rhel9
77
COPY --from=builder /go/src/github.com/openshift/cluster-kube-descheduler-operator/cluster-kube-descheduler-operator /usr/bin/
88
COPY --from=builder /go/src/github.com/openshift/cluster-kube-descheduler-operator/soft-tainter /usr/bin/
99
COPY --from=builder /go/src/github.com/openshift/cluster-kube-descheduler-operator/manifests /manifests

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,20 @@ Run the descheduler in your OpenShift cluster to move pods based on specific str
1515
| 5.1.3 | 4.17, 4.18 | 1.31 | 1.22 |
1616
| 5.2.0 | 4.19, 4.20 | 1.32 | 1.23 |
1717

18+
## Rebase instruction
19+
20+
```
21+
Steps:
22+
- [ ] bump .ci-operator.yaml if needed (as a separate PR and wait until the changes gets propagated to https://github.com/openshift/release/tree/master/ci-operator/config/openshift/ of the corresponding CI definition)
23+
- [ ] bump go version in a go.mod file if needed (check go.mod of the corresponding kubernetes release under https://github.com/kubernetes/kubernetes/branches)
24+
- [ ] bump all k8s.io/*, github.com/openshift/* and other relevant dependencies (you can consults the corresponding go.mod file as mentioned previously)
25+
- [ ] (recommended) commit all the go.mod and go.sum changes separatelly from `go mod vendor` changes
26+
- [ ] run "go mod vendor" and commit the changes
27+
- [ ] build the code (e.g. by running make) and adjust the code if needed to make the building step compile successfully
28+
- [ ] run unit tests (e.g. by running make unit-tests) successfully
29+
- [ ] commit the code adjustments if there are any
30+
```
31+
1832
## Deploy the operator
1933

2034
### Quick Development
@@ -193,7 +207,7 @@ The profile exposes the following customization:
193207
By default, this profile will enable load-aware descheduling based on the `PrometheusCPUCombined` Prometheus query.
194208
By default, the thresholds will be dynamic (based on the distance from the average utilization) and asymmetric (all the nodes below the average will be considered as underutilized to help rebalancing overutilized outliers) tolerating low deviations (10%).
195209

196-
By default, this profile configures the descheduler to restrict the maximum number of overall parallel evictions to 5 and
210+
By default, this profile configures the descheduler to restrict the maximum number of overall parallel evictions to 5 and
197211
the maximum number of evictions per node to 2 aligning with KubeVirt defaults around concurrent live migrations.
198212
Those two values can be customized with `evictionLimits.total` and `evictionLimits.node` parameters.
199213

bundle.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.23 as builder
1+
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.24 as builder
22
WORKDIR /go/src/github.com/openshift/cluster-kube-descheduler-operator
33
COPY . .
44

go.mod

Lines changed: 52 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,41 @@
11
module github.com/openshift/cluster-kube-descheduler-operator
22

3-
go 1.23.3
3+
go 1.24.2
4+
5+
toolchain go1.24.5
46

57
require (
68
github.com/ghodss/yaml v1.0.0
79
github.com/go-bindata/go-bindata v3.1.2+incompatible
810
github.com/google/go-cmp v0.7.0
9-
github.com/openshift/api v0.0.0-20250430175214-d22fca85e3b9
10-
github.com/openshift/build-machinery-go v0.0.0-20250414185254-3ce8e800ceda
11-
github.com/openshift/client-go v0.0.0-20250425165505-5f55ff6979a1
12-
github.com/openshift/library-go v0.0.0-20250512121900-863508cf7a27
13-
github.com/prometheus/client_golang v1.19.1
11+
github.com/openshift/api v0.0.0-20250710082954-674ad74beffc
12+
github.com/openshift/build-machinery-go v0.0.0-20250602125535-1b6d00b8c37c
13+
github.com/openshift/client-go v0.0.0-20250710075018-396b36f983ee
14+
github.com/openshift/library-go v0.0.0-20250711143941-47604345e7ea
15+
github.com/prometheus/client_golang v1.22.0
1416
github.com/spf13/cobra v1.9.1
1517
github.com/spf13/pflag v1.0.6
16-
k8s.io/api v0.32.3
17-
k8s.io/apiextensions-apiserver v0.32.2
18-
k8s.io/apimachinery v0.32.3
19-
k8s.io/client-go v0.32.2
20-
k8s.io/code-generator v0.32.2
21-
k8s.io/component-base v0.32.2
18+
k8s.io/api v0.33.2
19+
k8s.io/apiextensions-apiserver v0.33.2
20+
k8s.io/apimachinery v0.33.2
21+
k8s.io/client-go v0.33.2
22+
k8s.io/code-generator v0.33.2
23+
k8s.io/component-base v0.33.2
2224
k8s.io/klog/v2 v2.130.1
23-
k8s.io/kubernetes v1.32.3
24-
k8s.io/utils v0.0.0-20241210054802-24370beab758
25+
k8s.io/kubernetes v1.33.2
26+
k8s.io/utils v0.0.0-20250321185631-1f6e0b77f77e
2527
sigs.k8s.io/controller-runtime v0.20.4
2628
sigs.k8s.io/controller-tools v0.17.3
27-
sigs.k8s.io/descheduler v0.0.0-20250328160644-17b90969cf6e
29+
sigs.k8s.io/descheduler v0.33.1-0.20250504164356-5ce857b3fd0a
2830
sigs.k8s.io/structured-merge-diff/v4 v4.6.0
2931
)
3032

31-
replace k8s.io/kube-openapi => k8s.io/kube-openapi v0.0.0-20240430033511-f0e62f92d13f
33+
replace k8s.io/kube-openapi => k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff
3234

3335
require (
34-
cel.dev/expr v0.18.0 // indirect
36+
cel.dev/expr v0.19.1 // indirect
3537
github.com/NYTimes/gziphandler v1.1.1 // indirect
3638
github.com/antlr4-go/antlr/v4 v4.13.0 // indirect
37-
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a // indirect
3839
github.com/beorn7/perks v1.0.1 // indirect
3940
github.com/blang/semver/v4 v4.0.0 // indirect
4041
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
@@ -60,18 +61,18 @@ require (
6061
github.com/gogo/protobuf v1.3.2 // indirect
6162
github.com/golang/protobuf v1.5.4 // indirect
6263
github.com/google/btree v1.1.3 // indirect
63-
github.com/google/cel-go v0.22.0 // indirect
64-
github.com/google/gnostic-models v0.6.8 // indirect
65-
github.com/google/gofuzz v1.2.0 // indirect
64+
github.com/google/cel-go v0.23.2 // indirect
65+
github.com/google/gnostic-models v0.6.9 // indirect
6666
github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db // indirect
6767
github.com/google/uuid v1.6.0 // indirect
6868
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
69-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
69+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.24.0 // indirect
7070
github.com/imdario/mergo v0.3.16 // indirect
7171
github.com/inconshreveable/mousetrap v1.1.0 // indirect
7272
github.com/josharian/intern v1.0.0 // indirect
7373
github.com/jpillora/backoff v1.0.0 // indirect
7474
github.com/json-iterator/go v1.1.12 // indirect
75+
github.com/kylelemons/godebug v1.1.0 // indirect
7576
github.com/mailru/easyjson v0.7.7 // indirect
7677
github.com/mattn/go-colorable v0.1.13 // indirect
7778
github.com/mattn/go-isatty v0.0.20 // indirect
@@ -82,57 +83,58 @@ require (
8283
github.com/pkg/errors v0.9.1 // indirect
8384
github.com/pkg/profile v1.7.0 // indirect
8485
github.com/prometheus/client_model v0.6.1 // indirect
85-
github.com/prometheus/common v0.55.0 // indirect
86+
github.com/prometheus/common v0.62.0 // indirect
8687
github.com/prometheus/procfs v0.15.1 // indirect
8788
github.com/robfig/cron v1.2.0 // indirect
8889
github.com/sirupsen/logrus v1.9.3 // indirect
8990
github.com/stoewer/go-strcase v1.3.0 // indirect
90-
github.com/stretchr/testify v1.10.0 // indirect
9191
github.com/x448/float16 v0.8.4 // indirect
92-
go.etcd.io/etcd/api/v3 v3.5.16 // indirect
93-
go.etcd.io/etcd/client/pkg/v3 v3.5.16 // indirect
94-
go.etcd.io/etcd/client/v3 v3.5.16 // indirect
95-
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.53.0 // indirect
96-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0 // indirect
97-
go.opentelemetry.io/otel v1.28.0 // indirect
98-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.28.0 // indirect
99-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.28.0 // indirect
100-
go.opentelemetry.io/otel/metric v1.28.0 // indirect
101-
go.opentelemetry.io/otel/sdk v1.28.0 // indirect
102-
go.opentelemetry.io/otel/trace v1.28.0 // indirect
103-
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
92+
go.etcd.io/etcd/api/v3 v3.5.21 // indirect
93+
go.etcd.io/etcd/client/pkg/v3 v3.5.21 // indirect
94+
go.etcd.io/etcd/client/v3 v3.5.21 // indirect
95+
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
96+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.58.0 // indirect
97+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0 // indirect
98+
go.opentelemetry.io/otel v1.33.0 // indirect
99+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.33.0 // indirect
100+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.33.0 // indirect
101+
go.opentelemetry.io/otel/metric v1.33.0 // indirect
102+
go.opentelemetry.io/otel/sdk v1.33.0 // indirect
103+
go.opentelemetry.io/otel/trace v1.33.0 // indirect
104+
go.opentelemetry.io/proto/otlp v1.4.0 // indirect
104105
go.uber.org/multierr v1.11.0 // indirect
105106
go.uber.org/zap v1.27.0 // indirect
106107
golang.org/x/crypto v0.36.0 // indirect
107108
golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67 // indirect
108109
golang.org/x/mod v0.23.0 // indirect
109-
golang.org/x/net v0.37.0 // indirect
110-
golang.org/x/oauth2 v0.23.0 // indirect
110+
golang.org/x/net v0.38.0 // indirect
111+
golang.org/x/oauth2 v0.27.0 // indirect
111112
golang.org/x/sync v0.12.0 // indirect
112113
golang.org/x/sys v0.31.0 // indirect
113114
golang.org/x/term v0.30.0 // indirect
114115
golang.org/x/text v0.23.0 // indirect
115-
golang.org/x/time v0.7.0 // indirect
116+
golang.org/x/time v0.9.0 // indirect
116117
golang.org/x/tools v0.30.0 // indirect
117118
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
118-
google.golang.org/genproto/googleapis/api v0.0.0-20240826202546-f6391c0de4c7 // indirect
119-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect
120-
google.golang.org/grpc v1.67.0 // indirect
121-
google.golang.org/protobuf v1.35.2 // indirect
119+
google.golang.org/genproto/googleapis/api v0.0.0-20241209162323-e6fa225c2576 // indirect
120+
google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576 // indirect
121+
google.golang.org/grpc v1.68.1 // indirect
122+
google.golang.org/protobuf v1.36.5 // indirect
122123
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
123124
gopkg.in/inf.v0 v0.9.1 // indirect
124125
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
125126
gopkg.in/yaml.v2 v2.4.0 // indirect
126127
gopkg.in/yaml.v3 v3.0.1 // indirect
127-
k8s.io/apiserver v0.32.2 // indirect
128-
k8s.io/component-helpers v0.32.0 // indirect
129-
k8s.io/gengo/v2 v2.0.0-20240911193312-2b36238f13e9 // indirect
130-
k8s.io/kms v0.32.2 // indirect
131-
k8s.io/kube-aggregator v0.32.1 // indirect
128+
k8s.io/apiserver v0.33.2 // indirect
129+
k8s.io/component-helpers v0.33.0 // indirect
130+
k8s.io/gengo/v2 v2.0.0-20250207200755-1244d31929d7 // indirect
131+
k8s.io/kms v0.33.2 // indirect
132+
k8s.io/kube-aggregator v0.33.2 // indirect
132133
k8s.io/kube-openapi v0.30.0 // indirect
133-
k8s.io/metrics v0.32.2 // indirect
134-
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.0 // indirect
134+
k8s.io/metrics v0.33.2 // indirect
135+
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.2 // indirect
135136
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
136137
sigs.k8s.io/kube-storage-version-migrator v0.0.6-0.20230721195810-5c8923c5ff96 // indirect
138+
sigs.k8s.io/randfill v1.0.0 // indirect
137139
sigs.k8s.io/yaml v1.4.0 // indirect
138140
)

0 commit comments

Comments
 (0)