-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvalues.yaml
94 lines (79 loc) · 2.67 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# Default values for spark-history-server.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
image:
repository: ghcr.io/aisingapore/kapitan-spark/spark
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: 0.0.7-spark3.5.1
# pullSecrets:
# - name: myRegistryKeySecretName
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
service:
# Options are ClusterIP (if use Ingress), NodePort, LoadBalancer
type: ClusterIP
# optional no need value
clusterIP:
# Only need to fill up if service type is NodePort
nodePortSparkHistoryPort: 34001
annotations: {}
# networking.gke.io/load-balancer-type: "Internal"
# service.beta.kubernetes.io/azure-load-balancer-internal: "true"
ingress:
enabled: true
annotations:
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
# acme.cert-manager.io/http01-edit-in-place: "true"
# cert-manager.io/cluster-issuer: letsencrypt-prod
# cert-manager.io/issue-temporary-certificate: "true"
# kubernetes.io/ingress.class: nginx
# type of authentication
nginx.ingress.kubernetes.io/auth-type: basic
nginx.ingress.kubernetes.io/auth-secret: "{{ include \"spark-history-server.fullname\" . }}-auth"
nginx.ingress.kubernetes.io/auth-secret-type: auth-map
nginx.ingress.kubernetes.io/auth-realm: 'Authentication Required - please key in username and password'
nginx.ingress.kubernetes.io/proxy-redirect-from: http://$host/
nginx.ingress.kubernetes.io/proxy-redirect-to: http://$host/spark-history-server/
nginx.ingress.kubernetes.io/rewrite-target: /$2
# leave empty if do not have dns name
host:
http:
paths:
- backend:
service:
name: "{{ include \"spark-history-server.fullname\" . }}"
port:
number: 18080
path: /spark-history-server(/|$)(.*)
pathType: Prefix
tls: []
# - hosts:
# - spark-history-server.begonia.aisingapore.net
# secretName: chart-example-tls
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 0.2
memory: 0.5Gi
eventLog:
# use Kubernetes Persistence volume, put false if using blob storage
usePVC: true
# can also use blob storage s3a
dir: /opt/spark/event-logs
s3a:
accessKey: empty
secretKey: empty
endpoint: https://empty
passwordPairs:
# output of openssl passwd -quiet <password> ; password is 5Wmi95w4
dataOps: tuzr3bYvP1pq6