1 개요[ | ]
yaml
Copy
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: node-sysctl-writer
namespace: kube-system
spec:
selector:
matchLabels:
app: node-sysctl-writer
template:
metadata:
labels:
app: node-sysctl-writer
spec:
nodeSelector:
kubernetes.io/os: linux
containers:
- name: node-sysctl-writer
image: busybox
command:
- /bin/sh
- -x
- -c
- |
sysctl fs.inotify.max_user_watches
sysctl -w fs.inotify.max_user_watches=524288
sleep infinity
resources:
limits:
memory: 125Mi
requests:
cpu: 10m
memory: 30Mi
securityContext:
privileged: true
runAsUser: 0
2 같이 보기[ | ]
편집자 Jmnote
로그인하시면 댓글을 쓸 수 있습니다.