quiet-memory-19288
06/16/2022, 3:34 PMdisable_apparmor
for containerd on an embedded project I am working on. Can anyone tell me how to do it, so k3s keeps my change?
[plugins.cri]
...
disable_apparmor = true
/var/lib/rancher/k3s/agent/etc/containerd# ls
config.toml config.toml.tmpl
I know I need to make a tmpl file in that folder, but if I do, it seems to break the resulting config.toml. With like the GUID k3s install path and such….
I see the GO template https://github.com/k3s-io/k3s/blob/master/pkg/agent/templates/templates_linux.gocurl -sfL <https://get.k3s.io> | sh -s - --disable=traefik --disable=apparmor
But then I woke up 😉/var/lib/rancher/k3s/agent/etc/containerd# apparmor_status | grep containerd
cri-containerd.apparmor.d
/usr/bin/local-path-provisioner (24414) cri-containerd.apparmor.d
/coredns (24479) cri-containerd.apparmor.d
/metrics-server (24518) cri-containerd.apparmor.d
creamy-pencil-82913
06/16/2022, 6:21 PMquiet-memory-19288
06/17/2022, 6:28 PMSystemdCgroup
doesnt exist yet. It kinda worries me a little in keeping in sync with you guys in our CI cycle. I’ll need some way to diff that file and pull down/test changes. It would be nice if you guys exposed the variables in your main k3s config, so we could
curl -sfL <https://get.k3s.io> | INSTALL_K3S_SKIP_START=true sh -s - --disable=traefik --containerD_<var>=false?
Or something like that? So we dont need to be so close with your integration.creamy-pencil-82913
06/17/2022, 7:27 PMquiet-memory-19288
06/22/2022, 4:57 PMcurl -sfL <https://get.k3s.io> | INSTALL_K3S_SKIP_START=true sh -s - --disable=traefik --containerD_<var>=<value>
Or can you tell me how to submit it?creamy-pencil-82913
06/22/2022, 5:37 PMquiet-memory-19288
06/22/2022, 5:48 PM