diff --git a/infra/k8s/base/backend-deployment.yaml b/infra/k8s/base/backend-deployment.yaml index e030e8a..0adac2f 100644 --- a/infra/k8s/base/backend-deployment.yaml +++ b/infra/k8s/base/backend-deployment.yaml @@ -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 diff --git a/infra/k8s/base/frontend-deployment.yaml b/infra/k8s/base/frontend-deployment.yaml index 44a5492..d25925a 100644 --- a/infra/k8s/base/frontend-deployment.yaml +++ b/infra/k8s/base/frontend-deployment.yaml @@ -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 diff --git a/infra/k8s/base/keycloak-deployment.yaml b/infra/k8s/base/keycloak-deployment.yaml index c2921d3..2e905e1 100644 --- a/infra/k8s/base/keycloak-deployment.yaml +++ b/infra/k8s/base/keycloak-deployment.yaml @@ -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 diff --git a/infra/k8s/overlays/dev/secrets.yaml b/infra/k8s/overlays/dev/secrets.yaml index 870f629..afdc1c7 100644 --- a/infra/k8s/overlays/dev/secrets.yaml +++ b/infra/k8s/overlays/dev/secrets.yaml @@ -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"