diff options
| author | Paul Buetow <paul@buetow.org> | 2026-06-30 08:48:24 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-06-30 08:48:24 +0300 |
| commit | c19725b5c6f7facd87dc0d3cb97a8284c9959bd4 (patch) | |
| tree | 26f51490847d0d21c8a1ecc62affaf1c7d8ab884 /f3s | |
| parent | 847e22597e01be632fd8e11cce4c73563698b181 (diff) | |
f3s/ychat: drop TCP probes (crash on empty open+close)
Diffstat (limited to 'f3s')
| -rw-r--r-- | f3s/ychat/helm-chart/templates/deployment.yaml | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/f3s/ychat/helm-chart/templates/deployment.yaml b/f3s/ychat/helm-chart/templates/deployment.yaml index 53f8443..5b5a4d1 100644 --- a/f3s/ychat/helm-chart/templates/deployment.yaml +++ b/f3s/ychat/helm-chart/templates/deployment.yaml @@ -35,18 +35,9 @@ spec: ports: - containerPort: 2000 name: http - # yChat speaks HTTP/0.9-style responses (no status line), so an - # httpGet probe would never succeed. Use a TCP socket probe instead. - livenessProbe: - tcpSocket: - port: http - initialDelaySeconds: 5 - periodSeconds: 15 - readinessProbe: - tcpSocket: - port: http - initialDelaySeconds: 3 - periodSeconds: 10 + # No liveness/readiness probes: yChat segfaults on an empty TCP + # open+close (a TCP-socket probe would kill it). It serves real HTTP + # requests fine, and kubelet restarts the pod if the process exits. resources: requests: memory: 32Mi |
