argo-cd/test/e2e/testdata/hook-and-deployment/deployment.yaml
2019-10-11 11:48:57 -07:00

28 lines
No EOL
588 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: my-deployment
spec:
replicas: 1
selector:
matchLabels:
app: my-app
template:
metadata:
labels:
app: my-app
spec:
containers:
- name: main
image: nginx:1.17.4-alpine
imagePullPolicy: IfNotPresent
readinessProbe:
failureThreshold: 3
httpGet:
path: /does-not-exist
port: 8080
scheme: HTTP
initialDelaySeconds: 5
periodSeconds: 5
successThreshold: 3
timeoutSeconds: 1