-
BREAKING
- CNI
bin_dirin CRI runtime config is deprecated (plugins.'io.containerd.cri.v1.runtime'.cni.bin_dir) and will be removed in containerdv2.3. It was replaced withbin_dirsin the same section which supports a list of directories. So,plugins.'io.containerd.cri.v1.runtime'.cni.bin_dir = '/opt/cni/bin'was changed toplugins.'io.containerd.cri.v1.runtime'.cni.bin_dirs = ['/opt/cni/bin']incontainerd_configvariable.
- CNI
-
UPDATE
- update
containerdtov2.2.1
- update
-
FEATURE
- support
conf.dinclude in the default config
- support
-
MOLECULE
- add test for
conf.dinclude feature
- add test for
-
Breaking
meta/main.yml: Changemin_ansible_versionto 2.15. Ansible 2.9 is end-of-life (EOL).
-
UPDATE
- update
containerdtov2.1.4 - update
.gitignore - update
.yamllint - fix
ansible-lintissues
- update
-
UPDATE
- update
containerdtov2.1.3
- update
-
MOLECULE
- Use
generic/archVagrant box instead ofarchlinux/archlinux(no longer available) - Install
opensslpackage for Archlinux - Removed Ubuntu 20.04 because reached end of life
- Use
Note: This a major release update to containerd version 2.0.2! Please read the changelog of containerd v2.0.2 accordingly! In general if you haven't used any "exotic" features so far this version of the Ansible role should cover everything already and upgrading should be smooth. Nevertheless you should test the changes before!
-
POTENTIALLY BREAKING
containerd_configvariable value was adjusted to to meetcontainerdconfiguration requirements of version3. Please see Full configuration for all possible values. If you haven't adjusted this variable then there should be no need to change anything and upgrading should be smooth.- update list of containerd binaries in
containerd_binariesvariable.containerd-shim-runc-v1andcontainerd-shimwere removed as no longer provided by upstream.
-
UPDATE
- update
containerdtov2.0.2 templates/etc/systemd/system/containerd.service.j2: adddbus.servicetoAfter=
- update
-
MOLECULE
- adjust expected output of
ctr pullcommand
- adjust expected output of
- UPDATE
- update
containerdtov1.7.22
- update
- UPDATE
- update
containerdtov1.7.20
- update
-
FEATURE
- add support for Ubuntu 24.04
-
UPDATE
- update
containerdtov1.7.19
- update
- UPDATE
- update
containerdtov1.7.16
- update
-
UPDATE
- update
containerdtov1.7.15
- update
-
MOLECULE
- use
alvistackinstead ofgenericVagrant boxes
- use
- UPDATE
- update
containerdtov1.7.13
- update
- add task that creates directory specified in containerd_tmp_directory
- fix typo in defaults/main.yml
- Molecule: Change IP addresses
- Molecule: add two new host variables in
molecule/default/molecule.yml
- update
containerdtov1.7.12 - adjust Github action because of Ansible Galaxy changes
- update
containerdtov1.7.10 - remove CNI leftovers
- update
containerdtov1.7.9
- add missing configuration options to make
containerdwork with Kubernetes out of the box:[plugins."io.containerd.grpc.v1.cri"]->sandbox_image = "registry.k8s.io/pause:3.8"and[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc->runtime_type = "io.containerd.runc.v2" - add
"Type": "notify"tocontainerd_config
Note This release contains quite a few breaking changes. This mostly happened because cri-containerd-*.tar.gz release bundles are deprecated. Also see cri-containerd.DEPRECATED.txt. So containerd doesn't contain CNI plugins and runc anymore. You can still use this bundle if you use version 0.10.0+1.7.3 of this Ansible role. But for this version I decided to remove the support already before containerd v2.0 will be released. That means for containerd_flavor only the value base can be used and k8s has been gone. So that means you have to install CNI - Container Network Interface and runc separately. This should happen before you install containerd. You can use my Ansible roles
- For CNI: ansible-role-cni
- For runc: ansible-role-runc
Other changes:
- Breaking
containerd_configvariable contained a complete dump of all possiblecontainerdconfiguration settings. The dump was created withcontainerd config default. So if you just need to execute this command to get all possible configuration options. Since most settings are not relevant I changed the value accordingly and only keep what's different to the default settings. The current settings are intended to be used with a Kubernetes cluster. But in general they should also be a good starting point for standalone installations ofcontainerd. If you had your owncontainerd_configvariable defined this change doesn't affect you. - Breaking
containerd_flavorvariable only supportsbasevalue.k8swas removed. This variable most probably will be go away in a later release. If you already usedbasevalue here the change wont affect you. - Breaking
containerd_archive_k8svariable was removed - Breaking All
runcrelated resources and variables were removed:containerd_runc_binary_directory,containerd_runc_owner,containerd_runc_group,containerd_runc_binary_mode - Breaking All
crictlrelated resources and variables were removed:containerd_crictl_config_file,containerd_crictl_config_directory,containerd_crictl_config_directory_mode,containerd_crictl_config_directory_owner,containerd_crictl_config_directory_group,containerd_crictl_config_file_owner,containerd_crictl_config_file_group,containerd_crictl_config_file_mode,containerd_crictl_config_file_content - Breaking All
CNIrelated resources and variables were removed:containerd_cni_binary_directory,containerd_cni_binary_directory_mode,containerd_cni_binary_owner,containerd_cni_binary_group,containerd_cni_binary_mode,containerd_cni_netconfig_file,containerd_cni_netconfig_directory,containerd_cni_netconfig_directory_mode,containerd_cni_netconfig_file_owner,containerd_cni_netconfig_file_group,containerd_cni_netconfig_file_mode,containerd_cni_netconfig_file_content - Breaking update to containerd configuration version 2 (that means first line in
containerd_configvariable is nowversion = 2) - update
containerdtov1.7.8 - Molecule: improve verification step
- Molecule: increase memory for boxes
- Molecule: rename
kvmscenario todefault
- update
containerdtov1.7.3 - add support for Ubuntu 22.04
- BREAKING: remove support for Ubuntu 18.04 (reached end of life)
- BREAKING: When
containerdorCNIbinaries are upgradedcontainerd.servicewill be restarted. Up until this version this only happened whencontainerdconfiguration was updated.
- update
containerdtov1.7.0 - add Molecule
verifystep
- update
containerdtov1.6.19 - fix Molecule
converge.yml
- add Github release action to push new release to Ansible Galaxy
- update
containerdtov1.6.14
- update
containerdtov1.6.9
- fix file permissions in task
Downloading containerd archive - ansible-lint: fix issues
min_ansible_versioninmeta/main.ymlvalue should be string- add
.yamllint
- update
containerdtov1.6.8
- update
containerdtov1.6.6
- update
containerdtov1.6.4
- update
containerdtov1.6.3
- update
containerdtov1.6.2
- update
containerdtov1.6.0 - update
containerd_configvariable value for containerdv.1.6.0
- The
BinaryNamevalue incontainer_configvariable will now use the value ofcontainerd_runc_binary_directoryif defined by default. (contribution by @tiagoblackcode) - Ansible's
first_foundlookup plugin was used to determine the location ofmodprobebinary. But since all Ansible lookup plugins are only executed on the controller host the modprobe path of the controller host was used incontainerd.servicefile. That's fixed now. (contribution by @tiagoblackcode)
- In
plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.optionsthe settingSystemdCgroupis now set totrueinstead offalse. This is relevant for Kubernetes e.g. Also see: Kubernetes container-runtimes - containerd
- update
containerdtov1.5.9
- add support for Kubernetes by allowing to optionally also install
runc,crictlandCNIplugins.containerdbuilds are available in two flavors: Either just thecontainerdbinaries orcontainerdbinaries plus everything else needed to usecontainerdtogether with Kubernetes. Please see defaults/main.yml for all possible settings. With the Kubernetes support a lot of new variables were introduced but for almost all the default values should be good enough. The defaultcontainerd_flavor: "base"mimics the behavior of the previous version of this role. So upgrading shouldn't be an issue.
- update
containerdtov1.5.8
- update
containerdtov1.5.7
- initial commit