From 229f27325476a5b0bb123e0747a3126d2816c688 Mon Sep 17 00:00:00 2001 From: shodan Date: Sun, 22 Mar 2026 12:35:09 +0000 Subject: [PATCH] . --- code-server/code-server.yaml | 14 ++++++++++++++ gitea/README.md | 1 + sshwifty/sshwifty.yaml | 6 +++++- 3 files changed, 20 insertions(+), 1 deletion(-) 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