09dc4b6746
- 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
44 lines
1.0 KiB
YAML
44 lines
1.0 KiB
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: oligo-tools-ingress
|
|
namespace: olallalab
|
|
annotations:
|
|
nginx.ingress.kubernetes.io/rewrite-target: /
|
|
external-dns.alpha.kubernetes.io/target: 192.168.1.10
|
|
spec:
|
|
ingressClassName: public
|
|
rules:
|
|
- host: oligo-tools.alexandre-vazquez.cloud
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: oligo-tools
|
|
port:
|
|
number: 80
|
|
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: oligo-tools-ingress-internal
|
|
namespace: olallalab
|
|
annotations:
|
|
nginx.ingress.kubernetes.io/rewrite-target: /
|
|
external-dns.alpha.kubernetes.io/hostname: oligo-tools.alexandre-vazquez.internal
|
|
spec:
|
|
ingressClassName: public
|
|
rules:
|
|
- host: oligo-tools.alexandre-vazquez.internal
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: oligo-tools
|
|
port:
|
|
number: 80
|