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
[1.21] bump runc to 1.0.2 #104530
[1.21] bump runc to 1.0.2 #104530
Conversation
(cherry picked from commit ff2c614) [kolyshkin: run ./hack/update-vendor.sh] Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
The commands used were: hack/pin-dependency.sh github.com/opencontainers/runc v1.0.2 hack/lint-dependencies.sh # Follow its recommendations. hack/pin-dependency.sh github.com/cilium/ebpf v0.6.2 hack/pin-dependency.sh github.com/coreos/go-systemd/v22 v22.3.2 hack/pin-dependency.sh github.com/opencontainers/selinux v1.8.2 hack/pin-dependency.sh github.com/sirupsen/logrus v1.8.1 # Repeat. hack/lint-dependencies.sh hack/pin-dependency.sh google.golang.org/protobuf v1.26.0 GO111MODULE=on go mod edit -dropreplace github.com/willf/bitset # Update vendor. hack/update-vendor.sh git add vendor git add LICENSES/ git status # Repeat. hack/lint-dependencies.sh hack/pin-dependency.sh github.com/golang/protobuf v1.5.0 hack/pin-dependency.sh github.com/google/go-cmp v0.5.5 hack/update-vendor.sh git status git add vendor/ git status # Recheck. hack/lint-dependencies.sh hack/update-internal-modules.sh git status Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This is a knob added by runc 1.0.2 specifically for kubernetes, which tells runc/libcontainer/cgroups/systemd v1 manager to not freeze the cgroup in Set(). We set this knob here because this code is only used for pods (rather than containers) management, and in this place we create or update the pod cgroup with no device limits set, so we can skip the freeze. If this knob is not set, libcontainer's cgroup v1 manager tries to figure out whether the freeze is needed or not, but it's a somewhat expensive check to perform, thus the knob is a shortcut. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Hi @kolyshkin. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
This is more of a cleanup (cosmetic change), not really required (if I decided to not backport it in order to limit the amount of changes (should have mentioned that in PR description). If you want I can add it. |
yeah, that's the commit I was referring to. if it's not required, that's fine... I couldn't tell /approve |
cc @kubernetes/release-managers |
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kolyshkin, liggitt, saschagrunert 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 |
/test pull-kubernetes-node-e2e |
* This PR/commit comprises of the following: - Support to fallback on the older systemVM template in case of no change in template across ACS versions - Update core user to cloud in CKS - Display details of accessing CKS nodes in the UI - K8s Access tab - Update systemvm template from debian 11 to debian 11.2 - Update letsencrypt cert - Remove docker dependency as from ACS 4.16 onward k8s has deprecated support for docker - use containerd as container runtime * support for private registry - containerd * Enable updating template type (only) for system owned templates via UI * edit indents * Address comments and move cmd from patch file to cloud-init runcmd * temporary change * update k8s test to use k8s version 1.21.5 (instead of 1.21.3 - due to kubernetes/kubernetes#104530) * support for private registry - containerd * Enable updating template type (only) for system owned templates via UI * smooth upgrade of cks clusters * update pom file with temp download.cloudstack.org testing links * fix pom * add cgroup config for containerd * add systemd config for kubelet * add additional info during image registry config * update to official links
What type of PR is this?
/kind bug
What this PR does / why we need it:
Bumping runc dependency to 1.0.2, fixing a few issues.
For runc release notes, see
Which issue(s) this PR fixes:
Fixes: #102676
Fixes: #104280
Special notes for your reviewer:
This is a manual partial backport of #104528 to release-1.21 branch, replacing #103746.
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
none