-
Notifications
You must be signed in to change notification settings - Fork 448
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade Kubernetes to v1.30.7 #2463
base: master
Are you sure you want to change the base?
Upgrade Kubernetes to v1.30.7 #2463
Conversation
Signed-off-by: Electronic-Waste <[email protected]>
…all. Signed-off-by: Electronic-Waste <[email protected]>
Signed-off-by: Electronic-Waste <[email protected]>
Signed-off-by: Electronic-Waste <[email protected]>
Signed-off-by: Electronic-Waste <[email protected]>
Signed-off-by: Electronic-Waste <[email protected]>
Signed-off-by: Electronic-Waste <[email protected]>
Signed-off-by: Electronic-Waste <[email protected]>
Signed-off-by: Electronic-Waste <[email protected]>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Electronic-Waste <[email protected]>
Signed-off-by: Electronic-Waste <[email protected]>
a5755f0
to
a874874
Compare
Signed-off-by: Electronic-Waste <[email protected]>
a874874
to
532ab00
Compare
/rerun-all |
3f0e661
to
532ab00
Compare
PTAL if you have time👀 @kubeflow/wg-automl-leads |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this @Electronic-Waste!
I left my initial comments.
/assign @kubeflow/wg-training-leads @helenxie-bit
@@ -33,6 +33,6 @@ jobs: | |||
strategy: | |||
fail-fast: false | |||
matrix: | |||
kubernetes-version: ["v1.27.11", "v1.28.7", "v1.29.2"] | |||
kubernetes-version: ["v1.28.7", "v1.29.2", "v1.30.7"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want to migrate to k8s 1.31 in the followup PR ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I'd like to. But I'm busy this week. If it's not urgent, I'll raise another PR to migrate to k8s 1.31 next week.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that step by step upgrading would be better so that we can easily pick the commit when we find the issue on the specific K8s version.
So, I would recommend upgrading 1 K8s version in 1 PR.
go.mod
Outdated
go 1.22 | ||
go 1.22.0 | ||
|
||
toolchain go1.23.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need this ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess, it is added automatically by my go environment. I'll remove it.
hack/update-openapigen.sh
Outdated
|
||
echo "Generating swagger file for ${VERSION} ..." | ||
go run "${PROJECT_ROOT}/hack/swagger/main.go" "${VERSION}-${SWAGGER_VERSION}" "${VERSION}" >"${SWAGGER_CODEGEN_FILE}" | ||
kube::codegen::gen_openapi \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use the openapi binary directly here instead of kube::codegen
similar to Training Operator as we discussed here: kubeflow/training-operator#2324 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM. I'll change to use openapi binary.
@@ -0,0 +1,39 @@ | |||
API rule violation: list_type_missing,github.com/kubeflow/katib/pkg/apis/controller/common/v1beta1,AlgorithmSpec,AlgorithmSettings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to track in a issue to resolve these violations similar to Training: kubeflow/training-operator#2317
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I'll create an issue describing this after this PR get merged.
Signed-off-by: Electronic-Waste <[email protected]>
Signed-off-by: Electronic-Waste <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are the files in pkg/client/controller/applyconfiguration/common/v1beta1
no longer needed, or have they been replaced/generated in another location?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess, they are no longer needed since there are no +genclient
annotations in pkg/apis/controller/common/v1beta1
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it! That makes sense.
Thank you for the contribution! LGTM 🎉 |
Signed-off-by: Electronic-Waste <[email protected]>
Signed-off-by: Electronic-Waste <[email protected]>
go.mod
Outdated
k8s.io/apimachinery v0.30.7 | ||
k8s.io/client-go v0.30.7 | ||
k8s.io/code-generator v0.30.7 | ||
k8s.io/klog/v2 v2.130.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverting klog version, then create dedicated issue for the klog version updating.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it
Signed-off-by: Electronic-Waste <[email protected]>
@@ -33,6 +33,6 @@ jobs: | |||
strategy: | |||
fail-fast: false | |||
matrix: | |||
kubernetes-version: ["v1.27.11", "v1.28.7", "v1.29.2"] | |||
kubernetes-version: ["v1.28.7", "v1.29.2", "v1.30.7"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can also add one that tests whatever is the cutting edge version so we can get notified of any incompatibility earlier
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM. The newest version of k8s is 1.32.0 now. WDYT👀 @kubeflow/wg-automl-leads
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #2457
Checklist: