Merge branch 'master' of ssh://158-160-253-227.nip.io:2222/infra/iac

This commit is contained in:
Kochetkov S 2026-04-14 17:17:13 +03:00
commit 138ad860ba
3 changed files with 8 additions and 8 deletions

View File

@ -29,11 +29,11 @@ spec:
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 8080
containerPort: 8000
protocol: TCP
env:
- name: APP_NAME
value: comparisons-api-v2
value: comparisons
- name: APP_VERSION
value: 0.0.1
- name: LOGGER_LOG_LEVEL
@ -41,7 +41,7 @@ spec:
- name: DATABASE_NAME
value: postgres
- name: HTTP_PORT
value: "8080"
value: "8000"
- name: DOCUMENTATIONS_INTERNAL_HOST
value: http://documentations-service.documentations
- name: DOCUMENTATIONS_EXTERNAL_HOST
@ -110,14 +110,14 @@ spec:
livenessProbe:
httpGet:
path: /ping
port: 8080
port: 8000
initialDelaySeconds: 10
periodSeconds: 60
failureThreshold: 10
readinessProbe:
httpGet:
path: /ping
port: 8080
port: 8000
initialDelaySeconds: 5
periodSeconds: 5
failureThreshold: 20

View File

@ -10,6 +10,6 @@ spec:
app: backend
ports:
- name: http
port: 80
targetPort: 8080
port: 8000
targetPort: 8000
protocol: TCP

View File

@ -4,7 +4,7 @@ kind: Kustomization
namespace: comparisons
resources:
- namespace.yaml
# - backend-deployment.yaml
- backend-deployment.yaml
- backend-service.yaml
- frontend-deployment.yaml
- frontend-service.yaml