Skip to content

Instantly share code, notes, and snippets.

@jsturtevant
Last active August 25, 2022 22:07
Show Gist options
  • Save jsturtevant/5628d8a4ac1f8381e631dff0281eeea1 to your computer and use it in GitHub Desktop.
Save jsturtevant/5628d8a4ac1f8381e631dff0281eeea1 to your computer and use it in GitHub Desktop.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment