Skip to content
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

Cluster API: Bump CAPI jobs for k8s 1.27 #29295

Merged

Conversation

furkatgofurov7
Copy link
Member

@furkatgofurov7 furkatgofurov7 commented Apr 12, 2023

Signed-off by: Furkat Gofurov (furkat.gofurov@suse.com)

Part of: kubernetes-sigs/cluster-api#8459

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. area/config Issues or PRs related to code in /config area/jobs sig/testing Categorizes an issue or PR as relevant to SIG Testing. labels Apr 12, 2023
@furkatgofurov7
Copy link
Member Author

@fabriziopandini
Copy link
Member

lgtm pending squash
@ykakarap @sbueringer PTAL

@@ -1,56 +1,5 @@
periodics:

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the following is missing:

For the main branch:

  • periodics & presubmits:
    • Bump KUBEBUILDER_ENVTEST_KUBERNETES_VERSION of the test-mink8s jobs to the new minimum supported management cluster version.
  • periodics:
    • Bump KUBERNETES_VERSION_MANAGEMENT of the e2e-mink8s job to the new minimum supported management cluster version.

Explanation:

With this PR we are supporting a new Kubernetes version v1.27. This moves our entire support range on the main branch up by one.

  • mgmt cluster: v1.24-v1.27
  • workload cluster: v1.22-v1.27

So KUBEBUILDER_ENVTEST_KUBERNETES_VERSION should be set to: v1.24.2

./hack/tools/bin/setup-envtest  list | grep v1.24
(available)  v1.24.2  linux/amd64
(available)  v1.24.1  linux/amd64

(we probably should improve the comment above the KUBEBUILDER_ENVTEST_KUBERNETES_VERSION env var here)

KUBERNETES_VERSION_MANAGEMENT should be set to "stable-1.24"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sbueringer thanks a lot for detailed explanation and review, I should have addressed all your comments in the last commit(ff2c96a). PTAL.

lgtm pending squash

I will squash all commits once reviewers are happy with the state of the patch.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks perfect, thank you!

I will squash all commits once reviewers are happy with the state of the patch.

Sounds reasonable :)

@sbueringer
Copy link
Member

sbueringer commented Apr 14, 2023

@furkatgofurov7 lgtm + approve from my side

I think we can squash now.

I thought about it again and I think we can merge this PR independent of kubernetes-sigs/cluster-api#8518

Basically this PR just introduces the 1.27=>1.28 test and does a few other smaller changes. But it doesn't change in any way which version e2e-full is testing or what clusterctl upgrade tests are doing (the latter was different in previous releases).

So for me it's fine to merge this after squash

Signed-off by: Furkat Gofurov (furkat.gofurov@suse.com)
@furkatgofurov7
Copy link
Member Author

I think we can squash now.

@sbueringer done.

I thought about it again and I think we can merge this PR independent of kubernetes-sigs/cluster-api#8518

Basically this PR just introduces the 1.27=>1.28 test and does a few other smaller changes. But it doesn't change in any way which version e2e-full is testing or what clusterctl upgrade tests are doing (the latter was different in previous releases).

So for me it's fine to merge this after squash

Yea, I was confused a bit at first why the 2 should be synced up, since this does not have any relation to clusterctl upgrade tests to my best knowledge.

@fabriziopandini
Copy link
Member

lgtm pending squash, great job!

@furkatgofurov7
Copy link
Member Author

lgtm pending squash, great job!

@fabriziopandini thanks, it is already squashed.

@sbueringer
Copy link
Member

Thank you!

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 14, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: furkatgofurov7, sbueringer

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 14, 2023
@k8s-ci-robot k8s-ci-robot merged commit 29f01e1 into kubernetes:master Apr 14, 2023
@k8s-ci-robot
Copy link
Contributor

@furkatgofurov7: Updated the job-config configmap in namespace default at cluster test-infra-trusted using the following files:

  • key cluster-api-periodics-main-upgrades.yaml using file config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-main-upgrades.yaml
  • key cluster-api-periodics-main.yaml using file config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-main.yaml
  • key cluster-api-periodics-release-1-4-upgrades.yaml using file config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-release-1-4-upgrades.yaml
  • key cluster-api-presubmits-main.yaml using file config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-main.yaml
  • key cluster-api-presubmits-release-1-2.yaml using file config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-release-1-2.yaml
  • key cluster-api-presubmits-release-1-3.yaml using file config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-release-1-3.yaml
  • key cluster-api-presubmits-release-1-4.yaml using file config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-release-1-4.yaml

In response to this:

Signed-off by: Furkat Gofurov (furkat.gofurov@suse.com)

Part of: kubernetes-sigs/cluster-api#8459

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@furkatgofurov7 furkatgofurov7 deleted the bump-capi-jobs-for-1-27 branch April 14, 2023 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/config Issues or PRs related to code in /config area/jobs cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants