dongjoon-hyun commented on code in PR #2:
URL: 
https://github.com/apache/spark-kubernetes-operator/pull/2#discussion_r1572836874


##########
build-tools/helm/spark-kubernetes-operator/values.yaml:
##########
@@ -0,0 +1,178 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+
+image:
+  repository: spark-kubernetes-operator
+  pullPolicy: IfNotPresent
+  # tag: latest
+  # If image digest is set then it takes precedence and the image tag will be 
ignored
+  # digest: ""
+
+imagePullSecrets: [ ]
+
+operatorDeployment:
+  # Replicas must be 1
+  replicas: 1
+  # Strategy type must be 'Recreate' unless leader election is configured
+  strategy:
+    type: Recreate
+  operatorPod:
+    priorityClassName: null
+    annotations: { }
+    labels: { }
+    affinity: { }
+    nodeSelector: { }
+    # Node tolerations for operator pod assignment
+    # 
https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
+    tolerations: [ ]
+    # Topology spread constrains
+    # 
https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
+    topologySpreadConstraints: [ ]
+    operatorContainer:
+      jvmArgs: "-XX:+UseG1GC -Xms3G -Xmx3G -Dfile.encoding=UTF8"
+      env:
+      envFrom:
+      volumeMounts: { }
+      resources:
+        limits:
+          cpu: "1"
+          ephemeral-storage: 2Gi
+          memory: 4Gi
+        requests:
+          cpu: "1"
+          ephemeral-storage: 2Gi
+          memory: 4Gi
+      probes:
+        port: 18080
+        livenessProbe:
+          periodSeconds: 10
+          initialDelaySeconds: 30
+        startupProbe:
+          failureThreshold: 30
+          periodSeconds: 10
+      metrics:
+        port: 19090
+      securityContext:
+        allowPrivilegeEscalation: false
+        capabilities:
+          drop:
+            - ALL
+        runAsNonRoot: true
+        runAsUser: 9999
+        seccompProfile:
+          type: RuntimeDefault
+    additionalContainers: { }
+    # additionalContainers:
+    #  - name: ""
+    #    image: ""
+    volumes: { }
+    # volumes:
+    #   - name: spark-artifacts
+    #     hostPath:
+    #       path: /tmp/spark/artifacts
+    #       type: DirectoryOrCreate
+    securityContext: { }
+    dnsPolicy:
+    dnsConfig:
+
+operatorRbac:
+  serviceAccount:
+    create: true
+    name: "spark-operator"
+  # If disabled, a Role would be created inside each app namespace for app 
operations
+  clusterRole:
+    create: true
+    name: "spark-operator-clusterrole"
+  # If disabled, a RoleBinding would be created inside each app namespace for 
app operations
+  clusterRoleBinding:
+    create: true
+    name: "spark-operator-clusterrolebinding"
+  configManagement:
+    roleName: "spark-operator-config-role"
+    roleBindingName: "spark-operator-config-role-binding"
+
+appResources:
+  # Create namespace(s), service account(s) and rolebinding(s) for SparkApps, 
if configured
+  # Operator would act at cluster level by default if no app namespace(s) are 
provided
+  namespaces:
+    create: true
+    # When enabled, operator would by default only watch namespace(s) provided 
in data field
+    watchGivenNamespacesOnly: false
+    data:
+  #    - "spark-demo"
+  #    - "spark-demo"

Review Comment:
   May I ask why we have the same comment twice?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to