blob: 93babf5ac5af3d3784d917da9b6df42e404b7922 [file] [log] [blame]
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
buildtag: "20231103_175458"
imagetag: latest
labels:
app: exec-server
name: exec-server
spec:
replicas: 16
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:4533bdab3e9ff8c2fa6722cd0a842f13e47064d2d7a43eb21b4697f7ca3771f3
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: 1000m
memory: 4096Mi
requests:
cpu: 500m
memory: 2048Mi
volumeMounts:
- mountPath: /etc/goma/toolchain-config
name: toolchain-config
terminationGracePeriodSeconds: 300
volumes:
- configMap:
defaultMode: 420
name: toolchain-config
name: toolchain-config