aurelie-portfolio/k8s/deployment.yml
ordinarthur ec064db204
Some checks failed
Build & Deploy to K3s / build-and-deploy (push) Failing after 11s
feat: add Dockerfile, nginx config and K8s manifests
2026-04-11 11:52:08 +02:00

44 lines
1014 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: aurelie-portfolio
namespace: portfolio
labels:
app: aurelie-portfolio
spec:
replicas: 2
selector:
matchLabels:
app: aurelie-portfolio
template:
metadata:
labels:
app: aurelie-portfolio
spec:
containers:
- name: aurelie-portfolio
image: git.arthurbarre.fr/ordinarthur/aurelie-portfolio:latest
ports:
- containerPort: 80
resources:
requests:
memory: "64Mi"
cpu: "50m"
limits:
memory: "128Mi"
cpu: "200m"
livenessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 5
periodSeconds: 30
readinessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 3
periodSeconds: 10
imagePullSecrets:
- name: gitea-registry-secret