kipunji/kustomize/app/deployment.yaml

45 lines
977 B
YAML
Raw Normal View History

2024-07-02 16:32:38 -05:00
---
kind: Deployment
apiVersion: apps/v1
metadata:
2024-07-30 14:30:20 -05:00
annotations:
reloader.stakater.com/auto: "true"
2024-07-02 16:32:38 -05:00
name: toy
labels:
app: toy
spec:
replicas: 3
selector:
matchLabels:
app: toy
template:
metadata:
labels:
app: toy
spec:
containers:
- name: toy
image: git.kill0.net/ryanc/toy:latest
ports:
- name: web
containerPort: 4567
env:
- name: SESSION_SECRET
valueFrom:
secretKeyRef:
name: toy-session-secret
2024-07-30 14:43:35 -05:00
key: session_secret
2024-07-05 15:25:08 -05:00
optional: true
2024-07-27 16:17:41 -05:00
livenessProbe:
httpGet:
path: /livez
port: 4567
initialDelaySeconds: 3
periodSeconds: 3
2024-07-27 16:29:06 -05:00
readinessProbe:
httpGet:
path: /readyz
port: 4567
initialDelaySeconds: 5
periodSeconds: 5