| apiVersion: apps/v1 |
| kind: Deployment |
| metadata: |
| annotations: |
| buildtag: "20220223_183958" |
| imagetag: latest |
| labels: |
| app: exec-server |
| name: exec-server |
| spec: |
| replicas: 128 |
| selector: |
| matchLabels: |
| app: exec-server |
| strategy: |
| rollingUpdate: |
| maxSurge: 64 |
| maxUnavailable: 0 |
| type: RollingUpdate |
| template: |
| metadata: |
| labels: |
| app: exec-server |
| spec: |
| containers: |
| - command: |
| - /opt/goma/bin/exec_server |
| - --trace-project-id=fuchsia-infra-goma-dev |
| - --pubsub-project-id=fuchsia-infra-goma-dev |
| - --file-addr=passthrough:///file-server:5050 |
| - --redis-max-idle-conns=16 |
| - --redis-max-active-conns=32 |
| - --remoteexec-addr=remotebuildexecution.googleapis.com:443 |
| - --remote-instance-prefix=projects/fuchsia-infra-goma-dev/instances |
| - --toolchain-config-bucket=fuchsia-toolchain-images-gcr-toolchain-config |
| - --configmap_file=/etc/goma/toolchain-config/toolchain.config |
| - --cmd-files-bucket=fuchsia-toolchain-images-gcr-files |
| - --fetch-config-parallel=true |
| envFrom: |
| - configMapRef: |
| name: memorystore |
| image: gcr.io/fuchsia-toolchain-images-gcr/exec-server@sha256:af3af226acb7aba8c8efc87d11403d249c5abe44a626cb3ea38e2dd82e2bd5a7 |
| livenessProbe: |
| failureThreshold: 20 |
| httpGet: |
| path: /healthz |
| port: 8081 |
| scheme: HTTP |
| initialDelaySeconds: 60 |
| periodSeconds: 15 |
| timeoutSeconds: 5 |
| name: exec-server |
| ports: |
| - containerPort: 5050 |
| protocol: TCP |
| - containerPort: 8081 |
| protocol: TCP |
| readinessProbe: |
| failureThreshold: 20 |
| httpGet: |
| path: /healthz |
| port: 8081 |
| scheme: HTTP |
| initialDelaySeconds: 60 |
| periodSeconds: 15 |
| timeoutSeconds: 5 |
| resources: |
| limits: |
| cpu: 500m |
| memory: 2048Mi |
| requests: |
| cpu: 250m |
| memory: 1024Mi |
| volumeMounts: |
| - mountPath: /etc/goma/toolchain-config |
| name: toolchain-config |
| terminationGracePeriodSeconds: 300 |
| volumes: |
| - configMap: |
| defaultMode: 420 |
| name: toolchain-config |
| name: toolchain-config |