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

Feat: CRI-O v1.31 change default runtime to crun #11601

Merged
merged 6 commits into from
Oct 16, 2024

Conversation

tico88612
Copy link
Member

@tico88612 tico88612 commented Oct 6, 2024

What type of PR is this?

/kind api-change
/kind feature

What this PR does / why we need it:

  • CRI-O v1.31 default runtime change to crun; we should follow upstream.

Which issue(s) this PR fixes:

Fixes #11561

Special notes for your reviewer:

  • My MacBook Pro M2 Vagrant local test failed due to overlayfs, I need to test on GitLab CI.

Does this PR introduce a user-facing change?:

[action required] If you use CRI-O and want to keep `runc` as your container default runtime when you upgrade cluster, you must set `runc_enable: true` and `crio_default_runtime: "runc"`.
Make CRI-O's default runtime configurable
CRI-O v1.31 default runtime change to crun
Crun upgrade to 1.17
Skopeo upgrade to v1.16.1

Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
@k8s-ci-robot k8s-ci-robot added release-note-action-required Denotes a PR that introduces potentially breaking changes that require user action. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API kind/feature Categorizes issue or PR as related to a new feature. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Oct 6, 2024
@tico88612
Copy link
Member Author

/ok-to-test

@k8s-ci-robot k8s-ci-robot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Oct 6, 2024
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
@VannTen
Copy link
Contributor

VannTen commented Oct 7, 2024

Could you precise in the release note what is the expected action for users ?
Also, is there a reason to include the skopeo upgrade in this ? Compat with cri-o / crun ?

@tico88612
Copy link
Member Author

Could you precise in the release note what is the expected action for users ?

This is changing the default value. Should I use “action required”, or maybe not?

Also, is there a reason to include the skopeo upgrade in this ? Compat with cri-o / crun ?

The original reason for updating Skopeo was that I couldn't test CRI-O locally, but no matter how I updated it, it didn't seem to work, but the GitLab CI did pass the test.

@VannTen
Copy link
Contributor

VannTen commented Oct 7, 2024 via email

@tico88612
Copy link
Member Author

Depends. If the change of default has the potential to break things if users just run the update, yes (for instance, #6693, you could not just update calico-datastore from etcd to kdd without a particular procedure)

This is indeed “action required” for those upgrading clusters.

Weird, maybe the CRI-O API wasn't backwards compatible in some part skopeo relies on ?

I think it's my Mac Vagrant that I can't test because my original CRI-O is also untestable, but I don't have a Linux-based host to use right now.

@VannTen
Copy link
Contributor

VannTen commented Oct 7, 2024 via email

Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
@tico88612
Copy link
Member Author

Ok, in that case, can you either describe the procedure in the release notes, or link to it if it's too long for a note ?

This is my first time writing an action-required release note; any comments are welcome.

@VannTen
Copy link
Contributor

VannTen commented Oct 11, 2024 via email

@tico88612
Copy link
Member Author

/retest-failed

@tico88612
Copy link
Member Author

/retest

@tico88612
Copy link
Member Author

/retest-failed

@tico88612
Copy link
Member Author

tf-validate-aws job failed reason: hashicorp/terraform-provider-aws#39676

@tico88612
Copy link
Member Author

/retest-failed

@tico88612
Copy link
Member Author

/label tide/merge-method-merge

@k8s-ci-robot k8s-ci-robot added the tide/merge-method-merge Denotes a PR that should use a standard merge by tide when it merges. label Oct 12, 2024
@ant31
Copy link
Contributor

ant31 commented Oct 15, 2024

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ant31, tico88612

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 Oct 15, 2024
@yankay
Copy link
Member

yankay commented Oct 16, 2024

Thanks @tico88612
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 16, 2024
@k8s-ci-robot k8s-ci-robot merged commit daa2144 into kubernetes-sigs:master Oct 16, 2024
40 checks passed
@tico88612 tico88612 deleted the feat/crio-default-crun branch October 16, 2024 08:52
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. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. release-note-action-required Denotes a PR that introduces potentially breaking changes that require user action. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. tide/merge-method-merge Denotes a PR that should use a standard merge by tide when it merges.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change crun as the default runtime for CRI-O
5 participants