switch loki and argocd inotify fixes from initContainers to pod-level sysctls
This commit is contained in:
@@ -26,6 +26,12 @@ spec:
|
|||||||
|
|
||||||
loki:
|
loki:
|
||||||
auth_enabled: false
|
auth_enabled: false
|
||||||
|
podSecurityContext:
|
||||||
|
sysctls:
|
||||||
|
- name: fs.inotify.max_user_watches
|
||||||
|
value: "524288"
|
||||||
|
- name: fs.inotify.max_user_instances
|
||||||
|
value: "512"
|
||||||
storage:
|
storage:
|
||||||
bucketNames:
|
bucketNames:
|
||||||
chunks: chunks
|
chunks: chunks
|
||||||
@@ -84,15 +90,7 @@ 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
|
||||||
|
|||||||
@@ -19,13 +19,10 @@ redis:
|
|||||||
repository: docker.io/library/redis
|
repository: docker.io/library/redis
|
||||||
tag: 7.4-alpine
|
tag: 7.4-alpine
|
||||||
|
|
||||||
repoServer:
|
global:
|
||||||
initContainers:
|
securityContext:
|
||||||
- name: sysctl-inotify
|
sysctls:
|
||||||
image: busybox:1.36
|
- name: fs.inotify.max_user_watches
|
||||||
command:
|
value: "524288"
|
||||||
- sysctl
|
- name: fs.inotify.max_user_instances
|
||||||
- -w
|
value: "512"
|
||||||
- fs.inotify.max_user_watches=524288
|
|
||||||
securityContext:
|
|
||||||
privileged: true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user