spark-exec.template.yaml 606 B

123456789101112131415161718192021222324252627
  1. apiVersion: v1
  2. kind: Pod
  3. spec:
  4. containers:
  5. - name: spark-kubernetes-executor
  6. securityContext:
  7. privileged: true
  8. volumeMounts:
  9. - name: hibench-results
  10. mountPath: /results
  11. env:
  12. - name: SCENARIO
  13. value: __FIXME__
  14. volumes:
  15. - name: hibench-results
  16. hostPath:
  17. path: /home_nfs/home_masourod/hibench-results
  18. type: Directory
  19. affinity:
  20. nodeAffinity:
  21. requiredDuringSchedulingIgnoredDuringExecution:
  22. nodeSelectorTerms:
  23. - matchExpressions:
  24. - key: hibench
  25. operator: In
  26. values:
  27. - true