blob: d46de1a2243be96b986ae7d6ff4bd8b875b35f99 [file] [log] [blame]
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
buildtag: "20220223_183958"
imagetag: latest
labels:
app: frontend
name: frontend
spec:
replicas: 32
selector:
matchLabels:
app: frontend
strategy:
rollingUpdate:
maxSurge: 16
maxUnavailable: 0
type: RollingUpdate
template:
metadata:
labels:
app: frontend
spec:
containers:
- command:
- /opt/goma/bin/frontend
- --trace-project-id=fuchsia-infra-goma-dev
- -auth-addr=passthrough:///auth-server:5050
- |-
--backend-config=local <
exec_addr: "passthrough:///exec-server:5050"
file_addr: "passthrough:///file-server:5050"
execlog_addr: "passthrough:///execlog-server:5050"
enable_bytestream: true
trace_option <
cluster: "rbe-dev"
>
>
- --gport=5050
- --port=80
image: gcr.io/fuchsia-toolchain-images-gcr/frontend@sha256:ca883936fde730d505a03c74c22bd4d0ca0f78237ba10093f6a5c4387863a0f9
livenessProbe:
failureThreshold: 20
httpGet:
path: /healthz
port: 8081
scheme: HTTP
initialDelaySeconds: 15
periodSeconds: 15
timeoutSeconds: 5
name: frontend
ports:
- containerPort: 5050
protocol: TCP
- containerPort: 8081
protocol: TCP
- containerPort: 80
protocol: TCP
readinessProbe:
failureThreshold: 4
httpGet:
path: /healthz
port: 8081
scheme: HTTP
initialDelaySeconds: 15
periodSeconds: 15
timeoutSeconds: 5
resources:
limits:
cpu: 800m
memory: 1024Mi
requests:
cpu: 400m
memory: 512Mi
- args:
- --ssl_port=9000
- --service=rbe-dev.endpoints.fuchsia-infra-goma-dev.cloud.goog
- --rollout_strategy=managed
- --backend=grpc://127.0.0.1:5050
- '--healthz= '
image: gcr.io/endpoints-release/endpoints-runtime:1
name: esp
ports:
- containerPort: 9000
protocol: TCP
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 50m
memory: 64Mi
volumeMounts:
- mountPath: /etc/nginx/ssl
name: nginx-ssl
readOnly: true
- mountPath: /var/lib/nginx/extra
name: nginx-extra-conf
readOnly: true
terminationGracePeriodSeconds: 300
volumes:
- name: nginx-ssl
secret:
secretName: nginx-ssl
- configMap:
defaultMode: 420
name: nginx-extra-conf
name: nginx-extra-conf