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: