|
@@ -179,4 +179,14 @@
|
|
|
changed_when: true
|
|
|
register: amd_gpu_enable
|
|
|
when: "'amdgpu-device-plugin' not in k8s_pods.stdout"
|
|
|
- tags: init
|
|
|
+ tags: init
|
|
|
+
|
|
|
+- name: Install Spark Operator
|
|
|
+ command: "helm repo add spark-operator https://googlecloudplatform.github.io/spark-on-k8s-operator"
|
|
|
+ changed_when: true
|
|
|
+ tags: init
|
|
|
+
|
|
|
+- name: Install Spark Operator Namespace
|
|
|
+ command: "helm install my-release spark-operator/spark-operator --namespace spark-operator --create-namespace"
|
|
|
+ changed_when: true
|
|
|
+ tags: init
|