Add service annotations (#17350)

Signed-off-by: Viktor Bogdanov <vvbogdanov87@gmail.com>

Signed-off-by: vvbogdanov87 <vvbogdanov87@gmail.com>
This commit is contained in:
Viktor Bogdanov
2019-09-29 19:27:37 -07:00
committed by Kubernetes Prow Robot
parent 19601be66c
commit ed612b55a5
4 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: spark-history-server
version: 1.0.1
version: 1.1.0
appVersion: 2.4.0
description: A Helm chart for Spark History Server
home: https://spark.apache.org
+1
View File
@@ -117,6 +117,7 @@ Note that the default image `lightbend/spark-history-server` is built using this
| image.tag |The tag of the image|2.4.0|
| service.type |The type of history server service that exposes the UI|LoadBalancer|
| service.port |The port on which the service UI can be accessed.|18080|
| service.annotations | annotations for the service | {} |
| pvc.enablePVC |Whether to use PVC storage|true|
| pvc.existingClaimName |The pre-created PVC name|nfs-pvc|
| pvc.eventsDir |The log directory when PVC is used|/|
@@ -7,6 +7,10 @@ metadata:
helm.sh/chart: {{ include "spark-history-server.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- if .Values.service.annotations }}
annotations:
{{ toYaml .Values.service.annotations | trim | indent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
ports:
+1
View File
@@ -17,6 +17,7 @@ image:
service:
type: LoadBalancer
port: 18080
annotations: {}
environment:
# Note: do not configure Spark history events directory using SPARK_HISTORY_OPTS. It will be