internal/cloudapi: additional prometheus listener

Listening on another port, while keeping the existing endpoint until
transition is complete
This commit is contained in:
Diaa Sami 2023-05-10 12:06:49 +02:00 committed by Diaa Sami
parent a8f7ff487d
commit 8398f27742
7 changed files with 80 additions and 5 deletions

View file

@ -109,6 +109,9 @@ objects:
- name: composer-api
protocol: TCP
containerPort: ${{COMPOSER_API_PORT}}
- name: prometheus
protocol: TCP
containerPort: ${{PROMETHEUS_PORT}}
- name: worker-api
protocol: TCP
containerPort: ${{WORKER_API_PORT}}
@ -217,6 +220,10 @@ objects:
protocol: TCP
port: 80
targetPort: ${{COMPOSER_API_PORT}}
- name: prometheus
protocol: TCP
port: 8008
targetPort: ${{PROMETHEUS_PORT}}
selector:
app: composer
@ -455,6 +462,9 @@ parameters:
name: COMPOSER_API_PORT
required: true
value: "8080"
- description: prometheus port
name: PROMETHEUS_PORT
value: "8008"
- description: worker-api port
name: WORKER_API_PORT
required: true