github.com/datreeio/datree@v1.9.22-rc/pkg/evaluation/test_fixtures/FailureLocations.yaml (about)

     1  apiVersion: apps/v1
     2  kind: Deployment
     3  metadata:
     4    name: AAAA
     5    namespace: test
     6    labels:
     7      owner: --
     8      environment: prod
     9      app: web
    10  spec:
    11    replicas: 2
    12    selector:
    13      matchLabels:
    14        app: web
    15    template:
    16      metadata:
    17        namespace: test
    18        labels:
    19          app: web
    20      spec:
    21        containers:
    22          - name: front-end
    23            image: nginx:latest
    24            readinessProbe:
    25              tcpSocket:
    26                port: 8080
    27              initialDelaySeconds: 5
    28              periodSeconds: 10
    29            resources:
    30              requests:
    31                memory: "64Mi"
    32                cpu: "64m"
    33              limits:
    34                memory: "64Mi"
    35                cpu: "500m"
    36            ports:
    37              - containerPort: 80
    38          - name: rss-reader
    39            image: nginx:latest
    40            livenessProbe:
    41              httpGet:
    42                path: /healthz
    43                port: 8080
    44                httpHeaders:
    45                  - name: Custom-Header
    46                    value: Awesome
    47            readinessProbe:
    48              tcpSocket:
    49                port: 8080
    50              initialDelaySeconds: 5
    51              periodSeconds: 10
    52            resources:
    53              requests:
    54                cpu: "64m"
    55                memory: "128Mi"
    56              limits:
    57                memory: "128Mi"
    58                cpu: "500m"
    59            ports:
    60              - containerPort: 88