| apiVersion: apps/v1 |
| kind: Deployment |
| metadata: |
| annotations: |
| buildtag: "20210420141048" |
| imagetag: latest |
| labels: |
| app: auth-server |
| name: auth-server |
| spec: |
| replicas: 16 |
| selector: |
| matchLabels: |
| app: auth-server |
| strategy: |
| rollingUpdate: |
| maxSurge: 8 |
| maxUnavailable: 0 |
| type: RollingUpdate |
| template: |
| metadata: |
| labels: |
| app: auth-server |
| spec: |
| containers: |
| - command: |
| - /opt/goma/bin/auth_server |
| - --project-id=fuchsia-infra-goma-prod |
| - --auth-db-addr=https://cxx-compiler-service.appspot.com/authdb/checkMembership |
| - --acl-file=/etc/goma/acl/acl |
| - --service-account-json-dir=/etc/goma/service-accounts |
| - --remoteexec-addr=remotebuildexecution.googleapis.com:443 |
| - --remote-instance-name=projects/fuchsia-infra-goma-prod/instances/default_instance |
| image: gcr.io/fuchsia-toolchain-images-gcr/auth-server@sha256:9348a499dab0b11bef2cccf3c093d2ba99372aceb64f51ff397a74951c20769a |
| livenessProbe: |
| httpGet: |
| path: /healthz |
| port: 8081 |
| scheme: HTTP |
| initialDelaySeconds: 5 |
| periodSeconds: 5 |
| name: auth-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: 50m |
| memory: 64Mi |
| requests: |
| cpu: 25m |
| memory: 32Mi |
| volumeMounts: |
| - mountPath: /etc/goma/acl |
| name: acl |
| volumes: |
| - configMap: |
| defaultMode: 420 |
| name: acl |
| name: acl |