mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Move hollow-node's initContainer from annotation to field
This commit is contained in:
parent
f156f7a741
commit
395d3bf3b4
@ -12,18 +12,13 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
name: hollow-node
|
||||
annotations:
|
||||
pod.beta.kubernetes.io/init-containers: '[
|
||||
{
|
||||
"name": "init-inotify-limit",
|
||||
"image": "busybox",
|
||||
"command": ["sysctl", "-w", "fs.inotify.max_user_instances=200"],
|
||||
"securityContext": {
|
||||
"privileged": true
|
||||
}
|
||||
}
|
||||
]'
|
||||
spec:
|
||||
initContainers:
|
||||
- name: init-inotify-limit
|
||||
image: busybox
|
||||
command: ['sysctl', '-w', 'fs.inotify.max_user_instances=200']
|
||||
securityContext:
|
||||
privileged: true
|
||||
volumes:
|
||||
- name: kubeconfig-volume
|
||||
secret:
|
||||
|
Loading…
Reference in New Issue
Block a user