NRI has been supported and enabled by default for quite some time (since CRI-O 1.30 and containerd 2.0). Given this, it should be safe to remove the initContainer currently used to enable NRI at runtime in all installations. At the moment, the initContainer only enables NRI for containerd. This creates a problem for CRI-O based setups, where the init container will fail and does not provide any benefit. Additionally, I tend to believe that enabling NRI is typically the job of admin, rather than something that should be handled within the app running on k8s. Based on these points, I would suggest that we drop the initContainer to simplify install.yaml.
NRI has been supported and enabled by default for quite some time (since CRI-O 1.30 and containerd 2.0). Given this, it should be safe to remove the
initContainercurrently used to enable NRI at runtime in all installations. At the moment, theinitContaineronly enables NRI for containerd. This creates a problem for CRI-O based setups, where the init container will fail and does not provide any benefit. Additionally, I tend to believe that enabling NRI is typically the job of admin, rather than something that should be handled within the app running on k8s. Based on these points, I would suggest that we drop theinitContainerto simplify install.yaml.