geerlingguy / ansible-role-containerd Goto Github PK
View Code? Open in Web Editor NEWAnsible Role - containerd.io
Home Page: https://galaxy.ansible.com/geerlingguy/containerd
License: MIT License
Ansible Role - containerd.io
Home Page: https://galaxy.ansible.com/geerlingguy/containerd
License: MIT License
Please check your role using ansible-lint.
See the Kubernetes docs: https://kubernetes.io/docs/setup/production-environment/container-runtimes/
# Set default containerd configuration
sudo mkdir -p /etc/containerd
containerd config default | sudo tee /etc/containerd/config.toml
# Restart containerd
sudo systemctl restart containerd
(After installation.)
Hi Jeff,
did you think about installing the CNI for Containerd in your ansible repo. How would you recommend the usage of containerd with cni? Do you use another Ansible Roles for that?
We gratefully starting to use your ansible role for replacement of docker with containerd for Kuberentes >= 1.24 on our K8s vanilla clusters.
We could also contribute the part into your repo if it's suitable for you.
Best Regards
Hi, it would be great if check mode was supported for the role. It currently fails on "geerlingguy.containerd : Set Cgroup driver to systemd" task with the following error (which makes sense since this task depends on the previous one which doesn't run in check mode):
Destination /tmp/containerd_config.toml does not exist !
The variables used are these:
ansible_os_family: ignore
containerd_config_default_write: true
containerd_config_cgroup_driver_systemd: true
I guess it would not be that simple because containerd_config.toml file needs to be created somewhere which implies that the check mode cannot be used for this step. Maybe some other idea?
Hi,
Thanks for the great role.
All works well but it doesn't come with any utility to build images (eg crictl, nerdctl or podman), nor with a replacement for docker-compose.
I looked at your roles but I didn't find any to fill that gap.
Any suggestion would be appreciated.
Kind regards,
Andrea
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.