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

View File

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

View File

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