aboutsummaryrefslogtreecommitdiffstats
path: root/syz-cluster/dashboard/deployment.yaml
blob: 94407a9fe233796fbd520dd2ad285a0ba74c6d94 (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: web-dashboard
spec:
  replicas: 1
  selector:
    matchLabels:
      app: web-dashboard
  template:
    metadata:
      labels:
        app: web-dashboard
    spec:
      serviceAccountName: gke-service-ksa
      containers:
      - name: web-dashboard-image
        image: ${IMAGE_PREFIX}web-dashboard:${IMAGE_TAG}
        envFrom:
          - configMapRef:
              name: global-config-env
        volumeMounts:
          - name: config-volume
            mountPath: /config
        ports:
        - containerPort: 8081
        resources:
          requests:
            cpu: 2
            memory: 4G
          limits:
            cpu: 4
            memory: 8G
      volumes:
        - name: config-volume
          configMap:
            name: global-config