From 09dc4b67464a2b71f656a204fb60ef1c989aa5bd Mon Sep 17 00:00:00 2001 From: claude-code Date: Sun, 5 Jul 2026 09:27:05 +0000 Subject: [PATCH] olallalab/oligo-tools: fix probes, resources, replicas y DNS target - startupProbe: tcpSocket period=240s (bloqueaba readiness hasta 4min) -> httpGet /:8080 period=5s failureThreshold=12 - liveness/readiness: timeoutSeconds 1 (defecto, falsos positivos) -> 5s/3s + failureThreshold 3 - resources: add requests 100m/128Mi (QoS BestEffort -> Burstable) - replicas 1 -> 2 (HA, spec original) - ingress .cloud: external-dns target 192.168.1.10 (NPM) para pasar por proxy con cert valido Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_0152b5oYwKsQrzKPyTziHgqG --- apps/olallalab/deployment.yaml | 22 +++++++++++++++------- apps/olallalab/ingress.yaml | 1 + 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/apps/olallalab/deployment.yaml b/apps/olallalab/deployment.yaml index 0b7a487..00adfdc 100644 --- a/apps/olallalab/deployment.yaml +++ b/apps/olallalab/deployment.yaml @@ -6,7 +6,7 @@ metadata: labels: app: oligo-tools spec: - replicas: 1 + replicas: 2 selector: matchLabels: app: oligo-tools @@ -22,24 +22,32 @@ spec: - containerPort: 8080 name: http resources: + requests: + cpu: 100m + memory: 128Mi limits: cpu: 1000m memory: 512Mi + startupProbe: + httpGet: + path: / + port: 8080 + periodSeconds: 5 + timeoutSeconds: 3 + failureThreshold: 12 livenessProbe: httpGet: path: / port: 8080 initialDelaySeconds: 10 periodSeconds: 20 + timeoutSeconds: 5 + failureThreshold: 3 readinessProbe: httpGet: path: / port: 8080 initialDelaySeconds: 5 periodSeconds: 10 - startupProbe: - tcpSocket: - port: 8080 - failureThreshold: 1 - periodSeconds: 240 - timeoutSeconds: 240 + timeoutSeconds: 3 + failureThreshold: 3 diff --git a/apps/olallalab/ingress.yaml b/apps/olallalab/ingress.yaml index 1f06a23..d5a37bc 100644 --- a/apps/olallalab/ingress.yaml +++ b/apps/olallalab/ingress.yaml @@ -5,6 +5,7 @@ metadata: namespace: olallalab annotations: nginx.ingress.kubernetes.io/rewrite-target: / + external-dns.alpha.kubernetes.io/target: 192.168.1.10 spec: ingressClassName: public rules: