diff --git a/test/kubemark/resources/hollow-node_template.yaml b/test/kubemark/resources/hollow-node_template.yaml index b42bc323c2f..62d336c949a 100644 --- a/test/kubemark/resources/hollow-node_template.yaml +++ b/test/kubemark/resources/hollow-node_template.yaml @@ -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: