-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaks-manifest.yml
More file actions
32 lines (32 loc) · 766 Bytes
/
Copy pathaks-manifest.yml
File metadata and controls
32 lines (32 loc) · 766 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
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: $NAME
namespace: $NAMESPACE
spec:
schedule: "$SCHEDULE"
jobTemplate:
spec:
template:
spec:
containers:
- name: $CONTAINER
image: $IMAGE
env:
- name: SLACK_TEST_URL
value: $SLACK_TEST_URL
command: ["/bin/sh", "-c"]
args: ["$COMMAND"]
resources:
requests:
cpu: "0.5"
memory: 500Mi
limits:
cpu: "1"
memory: 1000Mi
restartPolicy: Never
nodeSelector:
agentpool: $AGENTPOOL
backoffLimit: 2
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 2