fix(k8s): fix image names, keycloak 26 envs, and bump resource limits for RPi
This commit is contained in:
@@ -18,7 +18,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: api
|
||||
image: workclub-api:latest
|
||||
image: 192.168.241.13:8080/workclub-api:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- name: http
|
||||
@@ -44,10 +44,10 @@ spec:
|
||||
httpGet:
|
||||
path: /health/ready
|
||||
port: http
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 15
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 2
|
||||
failureThreshold: 5
|
||||
|
||||
resources:
|
||||
requests:
|
||||
@@ -55,7 +55,7 @@ spec:
|
||||
memory: 256Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
memory: 768Mi
|
||||
|
||||
env:
|
||||
- name: ASPNETCORE_ENVIRONMENT
|
||||
|
||||
@@ -18,7 +18,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: frontend
|
||||
image: workclub-frontend:latest
|
||||
image: 192.168.241.13:8080/workclub-frontend:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- name: http
|
||||
|
||||
@@ -30,17 +30,17 @@ spec:
|
||||
httpGet:
|
||||
path: /health/ready
|
||||
port: http
|
||||
initialDelaySeconds: 40
|
||||
periodSeconds: 10
|
||||
initialDelaySeconds: 120
|
||||
periodSeconds: 15
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 3
|
||||
failureThreshold: 5
|
||||
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health/live
|
||||
port: http
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 15
|
||||
initialDelaySeconds: 180
|
||||
periodSeconds: 20
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 3
|
||||
resources:
|
||||
@@ -49,7 +49,7 @@ spec:
|
||||
memory: 256Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
memory: 1024Mi
|
||||
env:
|
||||
- name: KC_DB
|
||||
value: postgres
|
||||
|
||||
@@ -7,4 +7,5 @@ stringData:
|
||||
database-connection-string: "Host=workclub-postgres;Database=workclub;Username=app;Password=devpassword"
|
||||
postgres-password: "devpassword"
|
||||
keycloak-db-password: "keycloakpass"
|
||||
keycloak-admin-username: "admin"
|
||||
keycloak-admin-password: "adminpassword"
|
||||
|
||||
Reference in New Issue
Block a user