-
Notifications
You must be signed in to change notification settings - Fork 304
Expand file tree
/
Copy pathexporter.yaml
More file actions
38 lines (38 loc) · 989 Bytes
/
exporter.yaml
File metadata and controls
38 lines (38 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
apiVersion: batch/v1
kind: CronJob
metadata:
name: exporter
labels:
cronLastSuccessfulTimeMins: "30"
spec:
timeZone: "Australia/Sydney"
schedule: "*/15 * * * *"
concurrencyPolicy: Forbid
# If the previous job overruns by more than a minute,
# Don't try to immediately queue up the next job
startingDeadlineSeconds: 60
jobTemplate:
spec:
template:
spec:
tolerations:
- key: workloadType
operator: Equal
value: highend
nodeSelector:
cloud.google.com/gke-nodepool: highend
containers:
- name: exporter
image: exporter
imagePullPolicy: Always
resources:
requests:
cpu: "12"
memory: "40Gi"
limits:
cpu: "20"
memory: "64Gi"
env:
- name: TRACE_SAMPLE_RATE
value: "0.0"
restartPolicy: Never