kubernetes-handbook/manifests/spark-with-kubernetes-nativ.../spark-compute-resources.yaml

13 lines
223 B
YAML
Raw Normal View History

2017-10-10 14:51:45 +08:00
apiVersion: v1
kind: ResourceQuota
metadata:
name: compute-resources
namespace: spark-cluster
spec:
hard:
pods: "20"
requests.cpu: "20"
requests.memory: 100Gi
limits.cpu: "40"
limits.memory: 200Gi