| apiVersion: apps/v1 |
| kind: Deployment |
| metadata: |
| annotations: |
| buildtag: "20210420141048" |
| imagetag: latest |
| labels: |
| app: file-server |
| name: file-server |
| spec: |
| replicas: 256 |
| selector: |
| matchLabels: |
| app: file-server |
| strategy: |
| rollingUpdate: |
| maxSurge: 64 |
| maxUnavailable: 0 |
| type: RollingUpdate |
| template: |
| metadata: |
| labels: |
| app: file-server |
| spec: |
| containers: |
| - command: |
| - /opt/goma/bin/file_server |
| - --trace-project-id=fuchsia-infra-goma-prod |
| - --redis-max-idle-conns=16 |
| - --redis-max-active-conns=32 |
| - --bucket=fuchsia-infra-goma-prod-rbe-prod1-file-cache |
| image: gcr.io/fuchsia-toolchain-images-gcr/file-server@sha256:8a0f8d8b0884a9032c6abf80f65b3180fe461275d3b3ea417e16eb4f123c9bf0 |
| 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 |