mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Add service annotations (#17350)
Signed-off-by: Viktor Bogdanov <vvbogdanov87@gmail.com> Signed-off-by: vvbogdanov87 <vvbogdanov87@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
19601be66c
commit
ed612b55a5
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user