Files
batida-landing/k8s/prod.yaml
T
mario 3cbc7dd529
Deploy / Build & Push (push) Successful in 9s
Deploy / Deploy Prod (push) Successful in 4s
fix: service targetPort 8080
2026-05-24 22:55:44 -03:00

53 lines
1.0 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: batida-landing
namespace: prod
spec:
replicas: 1
selector:
matchLabels:
app: batida-landing
template:
metadata:
labels:
app: batida-landing
spec:
tolerations:
- key: prod
operator: Equal
value: "true"
effect: NoSchedule
nodeSelector:
dedicated: prod
containers:
- name: batida-landing
image: git.batida.io/batida/batida-landing:latest
ports:
- containerPort: 8080
livenessProbe:
httpGet:
path: /
port: 8080
initialDelaySeconds: 5
periodSeconds: 30
resources:
requests:
memory: "16Mi"
cpu: "10m"
limits:
memory: "64Mi"
cpu: "100m"
---
apiVersion: v1
kind: Service
metadata:
name: batida-landing
namespace: prod
spec:
selector:
app: batida-landing
ports:
- port: 80
targetPort: 8080