bullish/k8s/app/rqscheduler.yaml

34 lines
623 B
YAML
Raw Permalink Normal View History

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: bullish-scheduler
spec:
selector:
matchLabels:
app: bullish-scheduler
replicas: 1
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 0
maxSurge: 1
template:
metadata:
labels:
app: bullish-scheduler
spec:
containers:
- name: bullish-backend
image: codingcoffee/bullish-backend
command:
- "/bin/sh"
- "-c"
- "python manage.py rqscheduler"
envFrom:
- secretRef:
name: bullish-secret
...