PyratLabs / ansible-role-k3s

Ansible role for installing k3s as either a standalone server or HA cluster.
BSD 3-Clause "New" or "Revised" License
640 stars 135 forks source link

Role doesn't let me add to the containerd template k3s uses #221

Closed samip5 closed 10 months ago

samip5 commented 10 months ago

Summary

I would like to be able to add custom containerd config to the templated one.

Issue Type

User Story

As a k3s administator \ I want to apply custom options to containerd \ So that I don't have to handle it outside Ansible

Additional Information

Related: https://docs.k3s.io/advanced?#configuring-containerd Example of what I want to add: https://github.com/kubevirt/containerized-data-importer/blob/f5d0b70b096abd856acff67eb4fc0cab0b474d89/doc/block_cri_ownership_config.md

onedr0p commented 10 months ago

I don't think we should implement this since k3s will not support merging containerd configs (it appends only)

https://github.com/k3s-io/k3s/issues/9246