Files
batida-landing/k8s/staging.yaml
Mário Idival 27093a26eb feat: initial landing page with K8s deploy config
- Nginx static serving with APP_URL env var
- K8s manifests for prod and staging
- Gitea Actions CI/CD pipeline
2026-04-17 11:56:26 -03:00

53 lines
1.1 KiB
YAML

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