-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
add containerd.io to dpkg_selection #7273
add containerd.io to dpkg_selection #7273
Conversation
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
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. |
Welcome @cristicalin! |
Hi @cristicalin. Thanks for your PR. I'm waiting for a kubernetes-sigs 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. |
I signed it |
/ok-to-test |
@@ -127,6 +127,7 @@ | |||
when: ansible_pkg_mgr == 'apt' | |||
changed_when: false | |||
with_items: | |||
- containerd.io |
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.
don't forget to remove the hold first (ligne 95), right now we are removing the hold for containerd
not containerd.io
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.
Should we remove both containerd
and containerd.io
? It seems the containerd.io
is a recent thing with docker-ce
and containerd
is the one from the ubuntu official repos. My understanding is that kubespray prefers the docker-ce so it would make sense to move the logic to containerd.io
.
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.
In the latest push I modified the line 95 from containerd
to containerd.io
since that is the proper name of the docker.com package
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.
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.
1215dbd
to
e482a17
Compare
`containerd.io` is the companion package of `docker-ce` and is the proper package name. This is needed to avoid apt upgrade/dist-upgrade from breaking kubernetes.
e482a17
to
e726985
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cristicalin, floryut 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 |
/lgtm |
`containerd.io` is the companion package of `docker-ce` and is the proper package name. This is needed to avoid apt upgrade/dist-upgrade from breaking kubernetes. (cherry picked from commit 6450207)
`containerd.io` is the companion package of `docker-ce` and is the proper package name. This is needed to avoid apt upgrade/dist-upgrade from breaking kubernetes. (cherry picked from commit 6450207)
Still not fixed for me, using latest master @ 2ea5793
|
`containerd.io` is the companion package of `docker-ce` and is the proper package name. This is needed to avoid apt upgrade/dist-upgrade from breaking kubernetes.
This is needed to avoid apt upgrade/dist-upgrade from breaking kubernetes
What type of PR is this?
/kind bug
What this PR does / why we need it:
This PR adds
containerd.io
to thedpkg_selection
on Debian hosts to ensure containerd is not incorrectly upgraded and inadvertently breaks Kubernetes.Which issue(s) this PR fixes:
Fixes #7276
Special notes for your reviewer:
Does this PR introduce a user-facing change?: