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:
|
labels:
|
||||||
app: oligo-tools
|
app: oligo-tools
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 2
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: oligo-tools
|
app: oligo-tools
|
||||||
@@ -22,24 +22,32 @@ spec:
|
|||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
name: http
|
name: http
|
||||||
resources:
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 128Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 1000m
|
cpu: 1000m
|
||||||
memory: 512Mi
|
memory: 512Mi
|
||||||
|
startupProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: 8080
|
||||||
|
periodSeconds: 5
|
||||||
|
timeoutSeconds: 3
|
||||||
|
failureThreshold: 12
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
port: 8080
|
port: 8080
|
||||||
initialDelaySeconds: 10
|
initialDelaySeconds: 10
|
||||||
periodSeconds: 20
|
periodSeconds: 20
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 3
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
port: 8080
|
port: 8080
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
startupProbe:
|
timeoutSeconds: 3
|
||||||
tcpSocket:
|
failureThreshold: 3
|
||||||
port: 8080
|
|
||||||
failureThreshold: 1
|
|
||||||
periodSeconds: 240
|
|
||||||
timeoutSeconds: 240
|
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ metadata:
|
|||||||
namespace: olallalab
|
namespace: olallalab
|
||||||
annotations:
|
annotations:
|
||||||
nginx.ingress.kubernetes.io/rewrite-target: /
|
nginx.ingress.kubernetes.io/rewrite-target: /
|
||||||
|
external-dns.alpha.kubernetes.io/target: 192.168.1.10
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: public
|
ingressClassName: public
|
||||||
rules:
|
rules:
|
||||||
|
|||||||
Reference in New Issue
Block a user