All checks were successful
continuous-integration/drone/push Build is passing
35 lines
741 B
YAML
35 lines
741 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: exempleci-deployment
|
|
labels:
|
|
app: exempleci
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: exempleci
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: exempleci
|
|
spec:
|
|
containers:
|
|
- name: flask
|
|
image: git.lab.adho.app/gael.dieudonne/exempleci:latest
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 5000
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 5
|
|
startupProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 5000
|
|
failureThreshold: 30
|
|
periodSeconds: 20
|
|
ports:
|
|
- containerPort: 5000
|
|
imagePullSecrets:
|
|
- name: registry-lab-secret |