github.com/GoogleCloudPlatform/testgrid@v0.0.174/cluster/canary/summarizer.yaml (about)

     1  ---
     2  apiVersion: v1
     3  kind: ServiceAccount
     4  metadata:
     5    annotations:
     6      # Uses same as updater
     7      iam.gke.io/gcp-service-account: testgrid-canary@k8s-testgrid.iam.gserviceaccount.com
     8    name: summarizer
     9    namespace: testgrid-canary
    10  ---
    11  apiVersion: apps/v1
    12  kind: Deployment
    13  metadata:
    14    name: testgrid-summarizer-tabs
    15    namespace: testgrid-canary
    16    labels:
    17      app: testgrid
    18      channel: stable
    19      component: summarizer-tabs
    20  spec:
    21    replicas: 1
    22    selector:
    23      matchLabels:
    24        app: testgrid
    25        channel: stable
    26        component: summarizer-tabs
    27    template:
    28      metadata:
    29        labels:
    30          app: testgrid
    31          channel: stable
    32          component: summarizer-tabs
    33      spec:
    34        serviceAccountName: summarizer
    35        containers:
    36        - name: summarizer
    37          image: gcr.io/k8s-testgrid/summarizer:v20230926-v0.0.165-24-ge8c030e5
    38          ports:
    39          - name: metrics
    40            containerPort: 2112
    41          args:
    42          - --config=gs://k8s-testgrid-canary/config
    43          - --confirm
    44          - --json-logs
    45          - --persist-queue=gs://k8s-testgrid-canary/queue/summarizer-tabs.json
    46          - --pubsub=k8s-testgrid/canary-tab-updates
    47          - --wait=1h
    48          resources:
    49            requests:
    50              cpu: "1"
    51              memory: "50G"
    52            limits:
    53              cpu: "2"
    54              memory: "100G"
    55  ---