gardener / gardener-extension-os-gardenlinux

Gardener extension controller for the Garden Linux operating system
Apache License 2.0
9 stars 30 forks source link

[WIP] Implement a Webhook to mutate the OperatingSystemConfig for cgroup drivers #169

Open MrBatschner opened 5 months ago

MrBatschner commented 5 months ago

How to categorize this PR?

/area os /kind enhancement /os garden-linux

What this PR does / why we need it:

A current WIP (as a result of the Gardener Hackathon 05/24) is to enable Gardener Node Agent to modify containerd config and kubelet to adapt their cgroup driver config directly via the OperatingConfiguration resource so that OS extensions can do away with their potentially buggy shell scripts.

This PR implements a mutating webhook that changes the OperatingSystemConfig of a worker pool and sets the cgroup driver to systemd.

Still WIP: once the webhook works and GNA can change the setting directly, the controller that currently deploys the shell scripts and the systemd unit dropins for containerd and kubelet needs to be removed.

Release note:

adenitiu commented 1 month ago

Hi @MrBatschner , now that https://github.com/gardener/gardener/pull/10167 got merged (I guess it was relevant for the current PR) , can this issue progress?