-
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
Defaults: replace docker with containerd as our default container_manager #8175
Defaults: replace docker with containerd as our default container_manager #8175
Conversation
015bbaa
to
c3e7b63
Compare
Wow, big work you are starting @cristicalin thank you 🙇 |
0aa6779
to
35f0457
Compare
35f0457
to
8df5860
Compare
eb0d445
to
cfd86a9
Compare
63b7189
to
c99c22a
Compare
d84dbff
to
a27035e
Compare
a27035e
to
3109892
Compare
b6fce08
to
58ea105
Compare
* should run compatible with old settings, this means docker * we need to run with a distro that has at least modern containerd, this means move from debian9 to debian10 to allow `containerd_version` to match between 2.17 and master
58ea105
to
ba811ed
Compare
I think this PR is now in good shape. The 3 CI failures are like this:
I would prefer to fix 1 and 3 in separate PRs. |
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.
I think this PR is now in good shape.
The 3 CI failures are like this:
- https://gitlab.com/kargo-ci/kubernetes-sigs-kubespray/-/jobs/1804745627 - debian9-macvlan - this needs some investigation
- https://gitlab.com/kargo-ci/kubernetes-sigs-kubespray/-/jobs/1804750376 - oel7 fix pending in OEL7: Fix CentOS7 Extras for OEL7 #8219
- https://gitlab.com/kargo-ci/kubernetes-sigs-kubespray/-/jobs/1804749484 - ubuntu16-weave (docker) needs pinned down containerd version
I would prefer to fix 1 and 3 in separate PRs.
I totally agree, big pr like that can't really be done in one shot otherwise it take way too much time and require a lot of works.
So fine by me to merge this as is and move forward with it 👍 great work there @cristicalin
[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 |
Having |
Hum, this PR doesn't change |
I contemplated switching For this PR I think it makes sense to keep the change as proposed and rework the duplicate variable meanings. And change the default after to rely on kubeadm. |
ok let's switch container runtime to containerd to get rid of docker dependency, it's worth it. /lgtm |
…ager (kubernetes-sigs#8175) * Defaults: replace docker with containerd as our default container_manager * CI: Use docker for download_localhost test * Defaults: with container_manager=containerd we need etcd_deployment_type=host * CI: Run weave jobs with docker * CI: Vagrant don't download_force_cache * CI: Fix upgrade tests * should run compatible with old settings, this means docker * we need to run with a distro that has at least modern containerd, this means move from debian9 to debian10 to allow `containerd_version` to match between 2.17 and master
…ager (kubernetes-sigs#8175) * Defaults: replace docker with containerd as our default container_manager * CI: Use docker for download_localhost test * Defaults: with container_manager=containerd we need etcd_deployment_type=host * CI: Run weave jobs with docker * CI: Vagrant don't download_force_cache * CI: Fix upgrade tests * should run compatible with old settings, this means docker * we need to run with a distro that has at least modern containerd, this means move from debian9 to debian10 to allow `containerd_version` to match between 2.17 and master
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR changes our default container_manager to
containerd
. This brings in more flexibility with the default out of the box experience since with containerd we can enable extra container runtimes like kata containers or gvisor and allows us to clean some legacy code in the CI.I added specific jobs for docker on ubuntu18, ubuntu20, centos8, debian10 and debian11 to ensure we don't accidentally break docker support.
Which issue(s) this PR fixes:
Fixes #7985
Special notes for your reviewer:
Does this PR introduce a user-facing change?: