ubuntu.yaml 561 B

123456789101112131415161718192021222324252627282930
  1. apiVersion: v1
  2. kind: Pod
  3. metadata:
  4. name: ubuntu
  5. labels:
  6. app: ubuntu
  7. spec:
  8. # Uncomment and specify a specific node you want to debug
  9. # nodeName: <insert-node-name-here>
  10. containers:
  11. - image: ubuntu
  12. command:
  13. - "sleep"
  14. - "3600"
  15. imagePullPolicy: IfNotPresent
  16. name: ubuntu
  17. securityContext:
  18. privileged: true
  19. volumeMounts:
  20. - name: rootfolder
  21. mountPath: /
  22. restartPolicy: Never
  23. hostIPC: true
  24. hostNetwork: true
  25. hostPID: true
  26. volumes:
  27. - hostPath:
  28. path: /
  29. type: ""
  30. name: rootfolder