Created
October 21, 2019 04:16
-
-
Save egeneralov/67192253e3b8a98335856b6dc990e550 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| apiVersion: apps/v1beta1 | |
| kind: Deployment | |
| metadata: | |
| name: chroot | |
| spec: | |
| replicas: 1 | |
| template: | |
| metadata: | |
| labels: | |
| run: chroot | |
| spec: | |
| volumes: | |
| - name: task-pv-storage | |
| hostPath: | |
| path: / | |
| type: Directory | |
| containers: | |
| - name: chroot | |
| image: debian:10 | |
| command: ["/bin/sleep", "infinity"] | |
| volumeMounts: | |
| - name: task-pv-storage | |
| mountPath: /host |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment