rubis/k3s/deployment.yml
ordinarthur 3c1d7fbd71
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 2m13s
add landing
2026-05-05 16:52:10 +02:00

46 lines
997 B
YAML

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