blob: 7575a453020f1f03b7085a23f8c30d4afe15dc7a [file] [log] [blame]
apiVersion: apps/v1beta2
kind: Deployment
metadata:
annotations:
buildtag: 20201013001324
imagetag: latest
labels:
app: file-server
name: file-server
spec:
replicas: 32
selector:
matchLabels:
app: file-server
strategy:
rollingUpdate:
maxSurge: 16
maxUnavailable: 0
type: RollingUpdate
template:
metadata:
labels:
app: file-server
spec:
containers:
- command:
- /opt/goma/bin/file_server
- --trace-project-id=fuchsia-infra-goma-dev
- --bucket=fuchsia-infra-goma-dev-rbe-dev-file-cache
image: gcr.io/fuchsia-toolchain-images-gcr/file-server@sha256:3a9c0ac65a325b1f2a28bea98f365b7f1bad2509186e00d54f9e589d3c06066f
livenessProbe:
httpGet:
path: /healthz
port: 8081
scheme: HTTP
initialDelaySeconds: 5
periodSeconds: 5
name: file-server
ports:
- containerPort: 5050
protocol: TCP
- containerPort: 8081
protocol: TCP
readinessProbe:
httpGet:
path: /healthz
port: 8081
scheme: HTTP
initialDelaySeconds: 5
periodSeconds: 5
resources:
limits:
cpu: 1000m
memory: 2048Mi
requests:
cpu: 500m
memory: 1024Mi