Compare commits
3 Commits
eaf642ca49
...
02f5cb55c4
Author | SHA1 | Date | |
---|---|---|---|
02f5cb55c4 | |||
87156eda3d | |||
22b9593ab1 |
@ -1,44 +0,0 @@
|
||||
---
|
||||
kind: Deployment
|
||||
apiVersion: apps/v1
|
||||
metadata:
|
||||
annotations:
|
||||
reloader.stakater.com/auto: "true"
|
||||
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
|
||||
key: session_secret
|
||||
optional: true
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /livez
|
||||
port: 4567
|
||||
initialDelaySeconds: 3
|
||||
periodSeconds: 3
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /readyz
|
||||
port: 4567
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 5
|
@ -28,6 +28,7 @@ spec:
|
||||
containers:
|
||||
- name: toy
|
||||
image: git.kill0.net/ryanc/toy:latest
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- name: web
|
||||
containerPort: 4567
|
||||
|
Loading…
Reference in New Issue
Block a user