pod.yaml 525 B

1234567891011121314151617181920212223242526
  1. apiVersion: v1
  2. kind: Pod
  3. metadata:
  4. name: busybox
  5. namespace: default
  6. spec:
  7. containers:
  8. - name: busybox
  9. image: busybox
  10. command:
  11. - sleep
  12. - "3600"
  13. imagePullPolicy: IfNotPresent
  14. volumeMounts:
  15. - name: test
  16. mountPath: /data
  17. volumes:
  18. - name: test
  19. flexVolume:
  20. driver: "fstab/cifs"
  21. fsType: "cifs"
  22. secretRef:
  23. name: "cifs-secret"
  24. options:
  25. networkPath: "//192.168.1.34/Tino"
  26. mountOptions: "dir_mode=0777,vers=1.0,file_mode=0666,noperm"