Files
chicken-game/k8s/deployment.yaml
2026-01-17 11:49:36 +03:00

41 lines
841 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: chicken-game
spec:
replicas: 1
selector:
matchLabels:
app: chicken-game
template:
metadata:
labels:
app: chicken-game
spec:
imagePullSecrets:
- name: harbor-creds
containers:
- name: chicken-game
image: __IMAGE__
ports:
- containerPort: 80
resources:
requests:
memory: "64Mi"
cpu: "50m"
limits:
memory: "128Mi"
cpu: "100m"
livenessProbe:
httpGet:
path: /health
port: 80
initialDelaySeconds: 10
periodSeconds: 10
readinessProbe:
httpGet:
path: /health
port: 80
initialDelaySeconds: 5
periodSeconds: 5