k8s.io/perf-tests/clusterloader2@v0.0.0-20240304094227-64bdb12da87e/pkg/prometheus/manifests/pushgateway/deployment.yaml (about)

     1  apiVersion: apps/v1
     2  kind: Deployment
     3  metadata:
     4    namespace: monitoring
     5    name: pushgateway
     6    labels:
     7      k8s-app: pushgateway
     8    annotations:
     9      prometheus.io/scrape: 'true'
    10  spec:
    11    replicas: 1
    12    selector:
    13      matchLabels:
    14        k8s-app: pushgateway
    15    template:
    16      metadata:
    17        name: pushgateway
    18        labels:
    19          k8s-app: pushgateway
    20      spec:
    21        containers:
    22        - name: pushgateway
    23          image: gcr.io/k8s-staging-perf-tests/pushgateway:v1.4.2
    24          ports:
    25          - name: web
    26            containerPort: 9091
    27          requests:
    28            limits:
    29              cpu: 200m
    30              memory: {{IfThenElse (lt .Nodes 500) 200 400}}Mi
    31            requests:
    32              cpu: 200m
    33              memory: {{IfThenElse (lt .Nodes 500) 200 400}}Mi