| apiVersion: apps/v1beta2 |
| kind: Deployment |
| metadata: |
| annotations: |
| buildtag: 20200810043737 |
| 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:257a05c85ee75a9b59ddc6afa72882e1956504d8a741ff404f8aac4ffb7b9209 |
| 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 |