File tree Expand file tree Collapse file tree 5 files changed +41
-7
lines changed Expand file tree Collapse file tree 5 files changed +41
-7
lines changed Original file line number Diff line number Diff line change @@ -436,6 +436,14 @@ Fast distributed SQL query engine for big data analytics that helps you explore
436
436
A list of the Linux kernel capabilities that are dropped from every container. Valid values are listed in [the capabilities manual page](https://man7.org/linux/man-pages/man7/capabilities.7.html). Ensure # to remove the "CAP_" prefix which the kernel attaches to the names of permissions.
437
437
* `shareProcessNamespace.coordinator` - bool, default: `false`
438
438
* `shareProcessNamespace.worker` - bool, default: `false`
439
+ * `serviceCoordinator.annotations` - object, default: `{}`
440
+ * `serviceCoordinator.type` - string, default: `"ClusterIP"`
441
+ * `serviceCoordinator.port` - int, default: `8080`
442
+ * `serviceCoordinator.nodePort` - string, default: `""`
443
+ * `serviceWorker.annotations` - object, default: `{}`
444
+ * `serviceWorker.type` - string, default: `"ClusterIP"`
445
+ * `serviceWorker.port` - int, default: `8080`
446
+ * `serviceWorker.nodePort` - string, default: `""`
439
447
* `service.annotations` - object, default: `{}`
440
448
* `service.type` - string, default: `"ClusterIP"`
441
449
* `service.port` - int, default: `8080`
Original file line number Diff line number Diff line change
1
+ {{- $svc := .Values.serviceCoordinator | default .Values.service }}
1
2
{{- $coordinatorJmx := merge .Values.jmx.coordinator (omit .Values.jmx "coordinator" "worker") -}}
2
3
apiVersion : v1
3
4
kind : Service
@@ -8,16 +9,16 @@ metadata:
8
9
{{- include "trino.labels" . | nindent 4 }}
9
10
app.kubernetes.io/component : coordinator
10
11
annotations :
11
- {{- toYaml .Values.service .annotations | nindent 4 }}
12
+ {{- toYaml $svc .annotations | nindent 4 }}
12
13
spec :
13
- type : {{ .Values.service .type }}
14
+ type : {{ $svc .type }}
14
15
ports :
15
- - port : {{ .Values.service .port }}
16
+ - port : {{ $svc .port }}
16
17
targetPort : http
17
18
protocol : TCP
18
19
name : http
19
- {{- if .Values.service .nodePort }}
20
- nodePort : {{ .Values.service .nodePort }}
20
+ {{- if $svc .nodePort }}
21
+ nodePort : {{ $svc .nodePort }}
21
22
{{- end }}
22
23
{{- if .Values.server.config.https.enabled }}
23
24
- port : {{ .Values.server.config.https.port }}
Original file line number Diff line number Diff line change
1
+ {{- $svc := .Values.serviceWorker | default .Values.service }}
1
2
{{- $workerJmx := merge .Values.jmx.worker (omit .Values.jmx "coordinator" "worker") -}}
2
3
apiVersion : v1
3
4
kind : Service
@@ -8,11 +9,11 @@ metadata:
8
9
{{- include "trino.labels" . | nindent 4 }}
9
10
app.kubernetes.io/component : worker
10
11
annotations :
11
- {{- toYaml .Values.service .annotations | nindent 4 }}
12
+ {{- toYaml $svc .annotations | nindent 4 }}
12
13
spec :
13
14
clusterIP : None
14
15
ports :
15
- - port : {{ .Values.service .port }}
16
+ - port : {{ $svc .port }}
16
17
targetPort : http
17
18
protocol : TCP
18
19
name : http
Original file line number Diff line number Diff line change @@ -486,6 +486,24 @@ shareProcessNamespace:
486
486
coordinator : false
487
487
worker : false
488
488
489
+ serviceCoordinator :
490
+ annotations : {}
491
+ type : ClusterIP
492
+ port : 8080
493
+ # service.nodePort -- The port the service listens on the host, for the `NodePort` type. If not set, Kubernetes will
494
+ # [allocate a port
495
+ # automatically](https://kubernetes.io/docs/concepts/services-networking/service/#nodeport-custom-port).
496
+ nodePort : " "
497
+
498
+ serviceWorker :
499
+ annotations : {}
500
+ type : ClusterIP
501
+ port : 8080
502
+ # service.nodePort -- The port the service listens on the host, for the `NodePort` type. If not set, Kubernetes will
503
+ # [allocate a port
504
+ # automatically](https://kubernetes.io/docs/concepts/services-networking/service/#nodeport-custom-port).
505
+ nodePort : " "
506
+
489
507
service :
490
508
annotations : {}
491
509
type : ClusterIP
Original file line number Diff line number Diff line change @@ -44,6 +44,12 @@ additionalConfigProperties:
44
44
- http-server.authentication.allow-insecure-over-http=true
45
45
- http-server.process-forwarded=true
46
46
47
+
48
+ serviceCoordinator :
49
+ annotations :
50
+ custom/coordinator : value
51
+ port : 8080
52
+
47
53
service :
48
54
annotations :
49
55
custom/name : value
You can’t perform that action at this time.
0 commit comments