Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Helm] Set another port as a management port for all JVM services #1342

Merged
merged 1 commit into from
Oct 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions save-cloud-charts/save-cloud/templates/backend-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ data:
backend.orchestrator-url=http://orchestrator
server.shutdown=graceful
management.endpoints.web.exposure.include=*
management.server.port={{ .Values.backend.managementPort }}
spring.datasource.url=${spring.datasource.backend-url}
logging.level.org.springframework.cloud=DEBUG
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ data:

server.shutdown=graceful
management.endpoints.web.exposure.include=*
management.server.port={{ .Values.orchestrator.managementPort }}
orchestrator.agent-settings.orchestrator-url=http://{{ .Values.orchestrator.name }}
orchestrator.agent-settings.backend-url=http://{{ .Values.backend.name }}
orchestrator.agent-settings.debug=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ data:
save.orchestrator=http://orchestrator
server.shutdown=graceful
management.endpoints.web.exposure.include=*
management.server.port={{ .Values.preprocessor.managementPort }}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ data:

server.shutdown=graceful
management.endpoints.web.exposure.include=*
management.server.port={{ .Values.sandbox.managementPort }}
sandbox.agent-settings.orchestrator-url=http://{{ .Values.sandbox.name }}
sandbox.agent-settings.backend-url=http://{{ .Values.sandbox.name }}
sandbox.agent-settings.debug=true
Expand Down
4 changes: 4 additions & 0 deletions save-cloud-charts/save-cloud/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ backend:
profile: dev,secure,kubernetes
imageName: save-backend
containerPort: 5800
managementPort: 5801
# Fixed ClusterIP can be assigned to make it easier to query backend from services outside Kubernetes.
# Should be chosen depending on cluster's network configuration: https://kubernetes.io/docs/concepts/services-networking/service/#choosing-your-own-ip-address.
clusterIP: null
Expand All @@ -21,20 +22,23 @@ orchestrator:
name: orchestrator
imageName: save-orchestrator
containerPort: 5100
managementPort: 5101
# Fixed ClusterIP can be assigned to make it easier to query orchestrator from services outside Kubernetes
clusterIP: null
dockerHost: tcp://${HOST_IP}:2375
sandbox:
name: sandbox
imageName: save-sandbox
containerPort: 5400
managementPort: 5401
# Fixed ClusterIP can be assigned to make it easier to query orchestrator from services outside Kubernetes
clusterIP: null
dockerHost: tcp://${HOST_IP}:2375
preprocessor:
name: preprocessor
imageName: save-preprocessor
containerPort: 5200
managementPort: 5201
# Fixed ClusterIP can be assigned to make it easier to query preprocessor from services outside Kubernetes
clusterIP: null
gateway:
Expand Down