blob: 6b5a97aaf56c8af685f073b81e5622078f6943fd [file] [log] [blame]
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
app: perf-ingest-ct
name: perf-ingest-ct
spec:
progressDeadlineSeconds: 600
replicas: 2
selector:
matchLabels:
app: perf-ingest-ct
strategy:
type: RollingUpdate
template:
metadata:
annotations:
prometheus.io.port: "20000"
prometheus.io.scrape: "true"
labels:
app: perf-ingest-ct
appgroup: perf
spec:
automountServiceAccountToken: false
containers:
- args:
- --logtostderr
- --prom_port=:20000
- --port=:8000
- --config_name=ct
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /var/secrets/google/key.json
image: gcr.io/skia-public/perf-ingest:2019-02-01T18_46_42Z-jcgregorio-7e837f0-dirty
imagePullPolicy: IfNotPresent
name: perf-ingest-ct
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: "5"
memory: 50Gi
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