apiVersion: v1 kind: Pod metadata: name: hostdir-linux spec: containers:
- name: test
image: radial/busyboxplus:curl
command:
- sleep
- "3600" volumeMounts:
- name: test-volume mountPath: /test-volume volumeMounts:
- mountPath: /etc/envoy name: envoy-bootstrap-config-volume restartPolicy: Always volumes:
- name: test-volume hostPath: path: "/" type: DirectoryOrCreate
- name: envoy-bootstrap-config-volume secret: defaultMode: 420 secretName: envoy-bootstrap-config-fea647dc-0e58-4552-a278-85f8614fe184 nodeSelector: "kubernetes.io/os": linux