This message was deleted.
# rke2
a
This message was deleted.
c
kubernetes does not allow setting ulimit values on a per-container basis
b
How can we configure at contained level?
Copy code
# ulimit -l
65536
^^ On k8s node
Copy code
$ ulimit -l
64
^^ on k8s pod
@creamy-pencil-82913 I’m looking for a way to add following line in containerd service file, can you please help me to locate that file in RKE2, I couldn’t find it anywhere other than containerd tom file
Copy code
[Service]
LimitMEMLOCK=67108864
c
by default k3s comes with an embedded containerd. there is not a separate systemd unit. You should just set the limits in the k3s systemd unit.
b
it is possible to set from the RKE2 config.yml file?
c
er sorry, rke2 not k3s.
no, it must be set in the systemd unit. RKE2 does not set its own limits
b
thanks
it was the kernel issue and I had to update the kernel to fix the original issue