29 lines
614 B
YAML
29 lines
614 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: promiscuity-auth
|
|
labels:
|
|
app: promiscuity-auth
|
|
spec:
|
|
replicas: 2
|
|
selector:
|
|
matchLabels:
|
|
app: promiscuity-auth
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: promiscuity-auth
|
|
spec:
|
|
containers:
|
|
- name: promiscuity-auth
|
|
image: promiscuity-auth:latest
|
|
imagePullPolicy: IfNotPresent
|
|
ports:
|
|
- containerPort: 5000
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /healthz
|
|
port: 5000
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|