Uncomment backend deployment and update backend port from 8080 to 8000 in comparisons app configuration
This commit is contained in:
parent
151bd43f86
commit
f075a0b3d9
@ -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
|
||||
|
||||
@ -10,6 +10,6 @@ spec:
|
||||
app: backend
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: 8080
|
||||
port: 8000
|
||||
targetPort: 8000
|
||||
protocol: TCP
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user