-
Notifications
You must be signed in to change notification settings - Fork 217
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
Bump to k8s 1.31 #664
Bump to k8s 1.31 #664
Conversation
Supersedes #655 |
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.
Thanks!
Makefile
Outdated
KUBECTL_VERSION=v1.30.4 | ||
ENVTEST_K8S_VERSION=1.30.0 | ||
KUBECTL_VERSION=v1.31.1 | ||
ENVTEST_K8S_VERSION=1.31.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.
ENVTEST_K8S_VERSION=1.31.1 | |
ENVTEST_K8S_VERSION=1.31.0 |
It seems that the latest version is v1.30.0:
setup-envtest list
(installed) v1.31.0 darwin/arm64
(installed) v1.30.0 darwin/arm64
(installed) v1.29.3 darwin/arm64
(installed) v1.29.1 darwin/arm64
(installed) v1.28.3 darwin/arm64
(installed) v1.27.1 darwin/arm64
(available) v1.30.0 darwin/arm64
(available) v1.29.3 darwin/arm64
(available) v1.29.1 darwin/arm64
(available) v1.29.0 darwin/arm64
(available) v1.28.3 darwin/arm64
(available) v1.28.0 darwin/arm64
(available) v1.27.1 darwin/arm64
(available) v1.26.1 darwin/arm64
(available) v1.26.0 darwin/arm64
(available) v1.25.0 darwin/arm64
(available) v1.24.2 darwin/arm64
(available) v1.24.1 darwin/arm64
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.
done
go.mod
Outdated
@@ -1,18 +1,18 @@ | |||
module github.com/kubeflow/mpi-operator | |||
|
|||
go 1.22.0 | |||
go 1.23.0 |
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.
go 1.23.0 | |
go 1.23 |
Could we eliminate the patch version?
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.
done
41fa348
to
cc09222
Compare
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!
/lgtm
/approve
/hold for CI
cc09222
to
17fbb2c
Compare
/lgtm |
/lgtm cancel We need to upgrade the golangci-lint version.
|
/approve cancel |
I chat with @ArangoGutierrez offline. |
@@ -339,7 +339,7 @@ func NewMPIJobControllerWithClock( | |||
priorityClassSynced: priorityClassSynced, | |||
mpiJobLister: mpiJobInformer.Lister(), | |||
mpiJobSynced: mpiJobInformer.Informer().HasSynced, | |||
queue: workqueue.NewRateLimitingQueueWithConfig(workqueue.DefaultControllerRateLimiter(), workqueue.RateLimitingQueueConfig{Name: "MPIJobs"}), | |||
queue: workqueue.NewTypedRateLimitingQueueWithConfig(workqueue.DefaultTypedControllerRateLimiter[any](), workqueue.TypedRateLimitingQueueConfig[any]{Name: "MPIJob"}), |
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 that we need to do this:
queue: workqueue.NewTypedRateLimitingQueueWithConfig(workqueue.DefaultTypedControllerRateLimiter[any](), workqueue.TypedRateLimitingQueueConfig[any]{Name: "MPIJob"}), | |
queue: workqueue.NewTypedRateLimitingQueueWithConfig(workqueue.DefaultTypedControllerRateLimiter[any](), workqueue.TypedRateLimitingQueueConfig[any]{Name: "MPIJob"}), |
and then,
queue workqueue.RateLimitingInterface |
workqueue.TypedRateLimitingInterface[any]
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.
Modified my comment related to types.
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 was about to comment that any
is required.
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.
@ArangoGutierrez Could you address the Line 250 as I mentioned above?
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 did
dbcbfae
to
4ef8cda
Compare
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
4ef8cda
to
9d5efd8
Compare
Additionally, I guess that we need to specify the 22.04:
|
It seems that the latest ubuntu runner has many issues: https://github.com/actions/runner-images/issues?q=is%3Aissue+Ubuntu+24.04+runner |
…[any] Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
dbbcc72
to
8946762
Compare
Could you try to change the installation URL in the following? Line 149 in 86d09e3
|
test/e2e/e2e_suite_test.go
Outdated
@@ -61,7 +61,7 @@ const ( | |||
volcanoSchedulerManifestPath = rootPath + "/dep-manifests/volcano-scheduler/" // all in one yaml of volcano-development.yaml | |||
envUseExistingSchedulerPlugins = "USE_EXISTING_SCHEDULER_PLUGINS" | |||
envUseExistingVolcanoScheduler = "USE_EXISTING_VOLCANO_SCHEDULER" | |||
defaultSchedulerPluginsVersion = "v0.29.8" | |||
defaultSchedulerPluginsVersion = "v0.31.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.
defaultSchedulerPluginsVersion = "v0.31.1" | |
defaultSchedulerPluginsVersion = "v0.29.8" |
This is the scheduler-plugins version, not k8s version.
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.
changed back
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
5d2a265
to
16d56d1
Compare
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!
This was not trival efforts!
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tenzen-y The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Should we remove the hold? |
Yup |
I upgraded the K8s library versions to v1.31, and controller-tools to v0.16.4.
Fixes: #652