Skip to content

Commit b64c063

Browse files
committed
Specify custom ports for the tiler service
1 parent 5357341 commit b64c063

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

osm-seed/templates/tiler-server/tiler-server-service.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ spec:
2828
ports:
2929
- name: http
3030
port: 80
31-
targetPort: 9091
31+
targetPort: {{ .Values.tilerServer.externalService.port | default "9090" }}
3232
protocol: TCP
3333
{{- else }}
3434
# This is the default service, atached to the deployment
@@ -37,14 +37,14 @@ spec:
3737
- name: http
3838
port: 80
3939
protocol: TCP
40-
targetPort: {{ .Values.tilerServer.externalService.port | default "http" }}
40+
targetPort: http
4141
- name: https
4242
port: 443
4343
protocol: TCP
44-
targetPort: {{ .Values.tilerServer.externalService.port | default "http" }}
44+
targetPort: http
4545
selector:
4646
app: {{ template "osm-seed.name" . }}
4747
release: {{ .Release.Name }}
48-
run: {{ .Release.Name }}-tiler-server
48+
run: {{ .Release.Name }}-tiler-server # This is working for deployment and not for statefulset , make sure you use "s3" to storage the vtiles
4949
{{- end }}
5050
{{- end }}

0 commit comments

Comments
 (0)