aboutsummaryrefslogtreecommitdiffstats
path: root/syz-cluster/reporter-server/deployment.yaml
blob: 342fc1a080e7df8a1ce7a162d5d9bd0a5fc7fa4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 2025 syzkaller project authors. All rights reserved.
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.

apiVersion: apps/v1
kind: Deployment
metadata:
  name: reporter-server-deployment
spec:
  replicas: 1
  selector:
    matchLabels:
      app: reporter-server
  template:
    metadata:
      labels:
        app: reporter-server
    spec:
      serviceAccountName: gke-service-ksa
      containers:
      - name: reporter-image
        image: ${IMAGE_PREFIX}reporter-server:${IMAGE_TAG}
        envFrom:
          - configMapRef:
              name: global-config-env
        volumeMounts:
          - name: config-volume
            mountPath: /config
        ports:
        - containerPort: 8080
        resources:
          requests:
            cpu: 2
            memory: 8G
          limits:
            cpu: 4
            memory: 16G
      volumes:
        - name: config-volume
          configMap:
            name: global-config