2020-11-14 22:57:19 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: DaemonSet
|
|
|
|
metadata:
|
|
|
|
name: inotify-max-watchers
|
|
|
|
namespace: kube-system
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: inotify-max-watchers
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
name: inotify-max-watchers
|
|
|
|
labels:
|
|
|
|
app: inotify-max-watchers
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: inotify-max-watchers
|
2020-12-04 08:41:15 +00:00
|
|
|
image: bv11-cr01.bessems.eu/proxy/library/alpine
|
2020-11-14 22:57:19 +00:00
|
|
|
imagePullPolicy: Always
|
|
|
|
securityContext:
|
|
|
|
privileged: true
|
|
|
|
command:
|
|
|
|
- "/bin/sh"
|
|
|
|
- "-c"
|
|
|
|
- "echo 'fs.inotify.max_user_watches=524288' | tee /etc/sysctl.conf; sysctl -p && tail -f /dev/null"
|