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) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0152b5oYwKsQrzKPyTziHgqG
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user