add sysctl init container for loki inotify limits
This commit is contained in:
@@ -84,6 +84,15 @@ spec:
|
|||||||
limits:
|
limits:
|
||||||
cpu: 500m
|
cpu: 500m
|
||||||
memory: 1Gi
|
memory: 1Gi
|
||||||
|
initContainers:
|
||||||
|
- name: sysctl-inotify
|
||||||
|
image: busybox:1.36
|
||||||
|
command:
|
||||||
|
- sysctl
|
||||||
|
- -w
|
||||||
|
- fs.inotify.max_user_watches=524288
|
||||||
|
securityContext:
|
||||||
|
privileged: true
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: metrics
|
namespace: metrics
|
||||||
|
|||||||
Reference in New Issue
Block a user