github.com/argoproj/argo-cd@v1.8.7/test/e2e/testdata/hook-and-deployment/deployment.yaml (about)

     1  apiVersion: apps/v1
     2  kind: Deployment
     3  metadata:
     4    name: my-deployment
     5  spec:
     6    replicas: 1
     7    selector:
     8      matchLabels:
     9        app: my-app
    10    template:
    11      metadata:
    12        labels:
    13          app: my-app
    14      spec:
    15        containers:
    16        - name: main
    17          image: nginx:1.17.4-alpine
    18          imagePullPolicy: IfNotPresent
    19          readinessProbe:
    20            failureThreshold: 3
    21            httpGet:
    22              path: /does-not-exist
    23              port: 8080
    24              scheme: HTTP
    25            initialDelaySeconds: 5
    26            periodSeconds: 5
    27            successThreshold: 3
    28            timeoutSeconds: 1