-
Notifications
You must be signed in to change notification settings - Fork 0
/
CronJob.yaml
39 lines (39 loc) · 974 Bytes
/
CronJob.yaml
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
39
apiVersion: batch/v1beta1
kind: CronJob
metadata:
labels:
app: helm-carta-hubin
name: helm-carta-hubin
spec:
concurrencyPolicy: Replace
failedJobsHistoryLimit: 1
jobTemplate:
metadata:
creationTimestamp: null
spec:
activeDeadlineSeconds: 3600
template:
metadata:
labels:
app: helm-carta-hubin
spec:
imagePullSecrets:
- name: mysecret
containers:
- image: dguyhasnoname/helm-carta-hubin:0.1.0
imagePullPolicy: Always
name: carta-hubin
ports:
- containerPort: 80
resources:
limits:
cpu: 100m
memory: 500Mi
requests:
cpu: 100m
memory: 400Mi
restartPolicy: OnFailure
schedule: 0/15 * * * *
startingDeadlineSeconds: 43200
successfulJobsHistoryLimit: 3
suspend: false