blob: cf98269e20554fe425fc60cf0f46f7eb4076dd54 [file] [log] [blame]
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
app: perf-ingest-android-x-prod
name: perf-ingest-android-x-prod
spec:
progressDeadlineSeconds: 600
replicas: 2
selector:
matchLabels:
app: perf-ingest-android-x-prod
strategy:
type: RollingUpdate
template:
metadata:
annotations:
prometheus.io.port: "20000"
prometheus.io.scrape: "true"
labels:
app: perf-ingest-android-x-prod
appgroup: perf
spec:
automountServiceAccountToken: false
containers:
- args:
- --logtostderr
- --prom_port=:20000
- --port=:8000
- --config_name=android-x
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /var/secrets/google/key.json
- name: GRPC_GO_LOG_SEVERITY_LEVEL
value: "info"
image: gcr.io/skia-public/perf-ingest:2019-09-19T21_02_58Z-jcgregorio-2cad5d3-clean
imagePullPolicy: IfNotPresent
name: perf-ingest-android-x-prod
ports:
- containerPort: 20000
protocol: TCP
- containerPort: 8000
protocol: TCP
readinessProbe:
failureThreshold: 3
httpGet:
path: /ready
port: 8000
scheme: HTTP
initialDelaySeconds: 1
periodSeconds: 3
successThreshold: 1
timeoutSeconds: 1
resources:
requests:
cpu: "0.2"
memory: 2Gi
volumeMounts:
- mountPath: /var/secrets/google
name: skia-perf-ingest-sa
restartPolicy: Always
securityContext:
fsGroup: 2000
runAsUser: 2000
terminationGracePeriodSeconds: 30
volumes:
- name: skia-perf-ingest-sa
secret:
secretName: perf-ingest