Skip to content

Instantly share code, notes, and snippets.

@erikerlandson
Created January 15, 2021 00:03
Show Gist options
  • Save erikerlandson/0bfd29fa74713dade39b3b5f42e77f76 to your computer and use it in GitHub Desktop.
Save erikerlandson/0bfd29fa74713dade39b3b5f42e77f76 to your computer and use it in GitHub Desktop.
example of new SparkCluster CR starting with ODH 0.9
apiVersion: radanalytics.io/v1
kind: SparkCluster
metadata:
name: spark-cluster-example
spec:
customImage: 'quay.io/radanalyticsio/openshift-spark-py36:2.4.5-2'
env:
- name: SPARK_METRICS_ON
value: prometheus
master:
cpuLimit: '1'
cpuRequest: '1'
instances: '1'
memoryLimit: 2Gi
memoryRequest: 1Gi
worker:
cpuLimit: '1'
cpuRequest: '1'
instances: '2'
memoryLimit: 2Gi
memoryRequest: 1Gi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment