operator-sdk icon indicating copy to clipboard operation
operator-sdk copied to clipboard

Meta Issue for K8S 1.25 & golang 1.19 Bump

Open theishshah opened this issue 2 years ago • 11 comments

Meta Issue for k8s 1.25 bump & golang 1.19

In order to bump Operator SDK to support Kubernetes 1.25 there are a few dependencies we rely on making the bump first.

This issue is meant to help track all dependencies and the status of their bumps.

Order of dependency bumps

Step 1: upgrade controller-runtime, controller-tools, helm, and operator-framework/operator-manifest-tools(can be done in parallel)

  • [x] sigs.k8s.io/controller-runtime https://github.com/kubernetes-sigs/controller-runtime/pull/1985
  • [x] sigs.k8s.io/controller-tools https://github.com/kubernetes-sigs/controller-tools/pull/717
  • [x] operator-framework/operator-manifest-tools https://github.com/operator-framework/operator-manifest-tools/pull/28

Step 2: upgrade operator-framework/api and sigs.k8s.io/kubebuilder-declarative-pattern (can be done immediately after controller-runtime)

  • [x] operator-framework/api https://github.com/operator-framework/api/pull/260
  • [x] sigs.k8s.io/kubebuilder-declarative-pattern https://github.com/kubernetes-sigs/kubebuilder-declarative-pattern/pull/238

Step 3.1: upgrade operator-framework/operator-registry and operator-framework/operator-lib (can be done immediately after operator-framework/api)

  • [ ] operator-framework/operator-registry https://github.com/operator-framework/operator-registry/pull/1024
  • [x] operator-framework/operator-lib https://github.com/operator-framework/operator-lib/pull/109

Step 3.2: upgrade kubebuilder (blocked until kubebuilder-declarative-pattern is bumped)

  • [x] sigs.k8s.io/kubebuilder/v3

Step 4: upgrade operator-framework/helm-operator-plugins and operator-framework/java-operator-plugins

  • [ ] operator-framework/helm-operator-plugins
  • [ ] operator-framework/java-operator-plugins https://github.com/operator-framework/java-operator-plugins/pull/103

Step 5: upgrade operator-framework/operator-sdk dependencies

  • [ ] Bump SDK to use k8s 1.25
  • [ ] Bump envtest to 1.25
  • [ ] https://github.com/operator-framework/operator-sdk/issues/6037

theishshah avatar Jul 08 '22 15:07 theishshah

So we need to add a space in between each of the [] so that they show up as boxes. And I assume the k8s versions should be 1.25 instead of 1.24 :)

jmrodri avatar Jul 09 '22 02:07 jmrodri

Nit: We need not bump helm.sh/helm/v3 to the latest k8s version. Their release cadence is way different (usually super slow). We just need to bump the helm dependency in plugins to the latest helm-v3 version which is built with a compatible k8s.

varshaprasad96 avatar Jul 11 '22 17:07 varshaprasad96

I created an issue on controller-tools to track the v1.25.0 bump Issue - https://github.com/kubernetes-sigs/controller-tools/issues/707

As of now, we are planning to bump it to v1.25.0-alpha.3 - I raised PR https://github.com/kubernetes-sigs/controller-tools/pull/708

laxmikantbpandhare avatar Jul 22 '22 20:07 laxmikantbpandhare

Updated controller-tools to v1.25.0-alpha.3

laxmikantbpandhare avatar Jul 29 '22 19:07 laxmikantbpandhare

I created an issue on controller-tools to track the v1.25 bump issue - https://github.com/kubernetes-sigs/controller-tools/issues/711

laxmikantbpandhare avatar Jul 29 '22 19:07 laxmikantbpandhare

Raised PR on controller-tools - https://github.com/kubernetes-sigs/controller-tools/pull/717

Maybe we need to wait for a bump of golang version to 1.19

laxmikantbpandhare avatar Aug 24 '22 14:08 laxmikantbpandhare

operator-manifest-tool k8s 1.25 bump completed.

laxmikantbpandhare avatar Sep 01 '22 03:09 laxmikantbpandhare

Kubebuilder-declarative-pattern is done as of https://github.com/kubernetes-sigs/kubebuilder-declarative-pattern/pull/238

everettraven avatar Sep 08 '22 13:09 everettraven

operator-framework/api bump k8s 1.25 merged https://github.com/operator-framework/api/pull/260

laxmikantbpandhare avatar Sep 15 '22 23:09 laxmikantbpandhare

@theishshah Can we make sure that https://github.com/operator-framework/operator-sdk/issues/6037 is in.

varshaprasad96 avatar Sep 21 '22 18:09 varshaprasad96

We need to add https://github.com/operator-framework/operator-sdk/issues/6031

asmacdo avatar Sep 21 '22 18:09 asmacdo

Finished java-operator-plugins release v0.7.0 It will fix #6031 and it will be added in operator-sdk next release v1.25.0.

laxmikantbpandhare avatar Sep 27 '22 17:09 laxmikantbpandhare

All k8s 1.25 updates completed for this issue.

laxmikantbpandhare avatar Oct 17 '22 15:10 laxmikantbpandhare