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

🌱 Upgrade to kind v0.11.0 #4469

Merged
merged 1 commit into from
May 24, 2021

Conversation

sbueringer
Copy link
Member

@sbueringer sbueringer commented Apr 12, 2021

What this PR does / why we need it:

Upgrades to kind v0.11.0. Main reason for that is to get rid of #4405.

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 #4503
Related to #4405 (I want to verify the results posts-submit before closing #4405)

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Apr 12, 2021
@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Apr 12, 2021
@sbueringer
Copy link
Member Author

/test pull-cluster-api-e2e-workload-upgrade-1-21-latest-main

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Apr 12, 2021
@sbueringer
Copy link
Member Author

/test pull-cluster-api-e2e-workload-upgrade-1-21-latest-main

1 similar comment
@sbueringer
Copy link
Member Author

/test pull-cluster-api-e2e-workload-upgrade-1-21-latest-main

@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Apr 12, 2021
go.mod Outdated Show resolved Hide resolved
@sbueringer
Copy link
Member Author

/test pull-cluster-api-e2e-workload-upgrade-1-21-latest-main

1 similar comment
@sbueringer
Copy link
Member Author

/test pull-cluster-api-e2e-workload-upgrade-1-21-latest-main

@sbueringer
Copy link
Member Author

sbueringer commented Apr 13, 2021

looks like cluster upgrade worked now, but I hit the 2h timeout which should not happen. Not sure how to debug this:
https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_cluster-api/4469/pull-cluster-api-e2e-workload-upgrade-1-21-latest-main/1381836594410950656

Maybe it's a problem with the 1.22 e2e tests, there is currently no job to test 1.20=>1.21 on a PR.

/test pull-cluster-api-e2e-workload-upgrade-1-21-latest-main

@sbueringer
Copy link
Member Author

sbueringer commented Apr 13, 2021

Upgrade tests will be fixed here: #4470

I'll keep this PR for now for a PoC with the new kind version, but I'll wait until the kind release the next week (s) as we apparently don't need it to get the tests green (at least in Prow, I'm not sure about local)

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 14, 2021
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 14, 2021
@sbueringer
Copy link
Member Author

/test pull-cluster-api-e2e-full-main
/test pull-cluster-api-e2e-workload-upgrade-1-21-latest-main

@sbueringer
Copy link
Member Author

Now it's definitely just a test branch which I don't intend to merge.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 26, 2021
@vincepri
Copy link
Member

@sbueringer @fabriziopandini What's the status for this update?

@sbueringer
Copy link
Member Author

sbueringer commented May 12, 2021

@sbueringer @fabriziopandini What's the status for this update?

Mainly that I was busy with other things the last 1-2 weeks and we're currently figuring out how we want to continue once kind is released. I'll will have time tomorrow to continue with PoCs.

The current state is documented here https://docs.google.com/document/d/1zsxMrdQoXT01vkEnK9pnbVidtNfglBYoNMkHhEGqqM4/edit# (corresponding issue #4503)

tl;dr from the doc is: out of the box the current kind main version won't work with Kubernetes >= 1.21 (because systemd cgroupDriver is default) without adjustments from our side. But there are a lot of easy workarounds imho (like settings cgroupDriver to cgroupfs).

Oh before I forget it. kind is not released yet, so it's all about making sure our tests won't break once kind is released.

@sbueringer
Copy link
Member Author

/retest

Copy link
Contributor

@CecileRobertMichon CecileRobertMichon left a comment

Choose a reason for hiding this comment

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

@sbueringer
Copy link
Member Author

sbueringer commented May 19, 2021

@CecileRobertMichon updated the doc. I'm not sure if we should do anything about the minimum kind version mentioned in the quick start documentation: https://cluster-api.sigs.k8s.io/user/quick-start.html#install-andor-configure-a-kubernetes-cluster

I'm not sure what it means that we "support" this kind version. There's nothing from our side which breaks compatibility with kind < v0.11 but we're only testing kind v0.11.

/cc @fabriziopandini

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 20, 2021
@sbueringer
Copy link
Member Author

/test pull-cluster-api-e2e-full-main
/test pull-cluster-api-e2e-workload-upgrade-1-21-latest-main

@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 20, 2021
@sbueringer
Copy link
Member Author

/retest
(known flake)

Copy link
Member

@vincepri vincepri left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 20, 2021
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 24, 2021
@sbueringer
Copy link
Member Author

sbueringer commented May 24, 2021

/test pull-cluster-api-e2e-full-main
/test pull-cluster-api-e2e-workload-upgrade-1-21-latest-main

(only rebase)

@sbueringer
Copy link
Member Author

sbueringer commented May 24, 2021

/test pull-cluster-api-e2e-workload-upgrade-1-21-latest-main
(suspected flake, if it isn't, it's helpful to get more data/logs)

@k8s-ci-robot
Copy link
Contributor

@sbueringer: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
pull-cluster-api-e2e-workload-upgrade-1-21-latest-main 6bb92ef link /test pull-cluster-api-e2e-workload-upgrade-1-21-latest-main

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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. I understand the commands that are listed here.

@sbueringer
Copy link
Member Author

Ah, just forgot that the 1.21=>latest test is expected to fail at the moment

Copy link
Contributor

@CecileRobertMichon CecileRobertMichon left a comment

Choose a reason for hiding this comment

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

/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 May 24, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: CecileRobertMichon

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 May 24, 2021
@k8s-ci-robot k8s-ci-robot merged commit d6b962c into kubernetes-sigs:master May 24, 2021
@k8s-ci-robot k8s-ci-robot added this to the v0.4 milestone May 24, 2021
@sbueringer sbueringer deleted the pr-upgrade-kind branch May 24, 2021 19:26
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. 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. 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.

Upgrade to kind v0.11.0 in our e2e tests
4 participants