mirror of
https://github.com/argoproj/argo-cd
synced 2026-05-01 13:57:19 +00:00
28 lines
No EOL
588 B
YAML
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 |