diff --git a/code-server/code-server.yaml b/code-server/code-server.yaml index 1997df5..1ee3e61 100644 --- a/code-server/code-server.yaml +++ b/code-server/code-server.yaml @@ -87,6 +87,20 @@ spec: exec: command: - "/home/coder/startup.sh" + readinessProbe: + httpGet: + path: / + port: 8080 + initialDelaySeconds: 10 + periodSeconds: 10 + + livenessProbe: + httpGet: + path: / + port: 8080 + initialDelaySeconds: 30 + periodSeconds: 20 + ports: - containerPort: 8080 - name: metrics diff --git a/gitea/README.md b/gitea/README.md index 01213f9..be6b0d9 100644 --- a/gitea/README.md +++ b/gitea/README.md @@ -8,3 +8,4 @@ the root url has been changed. check for errors or problems improvements: ldap group import (no cli command...) ldap avatars +redundancy (db and gitea) \ No newline at end of file diff --git a/sshwifty/sshwifty.yaml b/sshwifty/sshwifty.yaml index 397b683..05cd010 100644 --- a/sshwifty/sshwifty.yaml +++ b/sshwifty/sshwifty.yaml @@ -157,7 +157,7 @@ metadata: name: sshwifty namespace: sshwifty spec: - replicas: 1 + replicas: 2 selector: matchLabels: app: sshwifty @@ -200,6 +200,10 @@ metadata: name: sshwifty namespace: sshwifty spec: + sessionAffinity: ClientIP + sessionAffinityConfig: + clientIP: + timeoutSeconds: 10800 internalTrafficPolicy: Cluster ipFamilies: - IPv6