-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcron.yaml
More file actions
46 lines (44 loc) · 1.1 KB
/
Copy pathcron.yaml
File metadata and controls
46 lines (44 loc) · 1.1 KB
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
40
41
42
43
44
45
46
apiVersion: batch/v1
kind: CronJob
metadata:
creationTimestamp: null
name: time-limited-job
spec:
jobTemplate:
metadata:
creationTimestamp: null
name: time-limited-job
spec:
activeDeadlineSeconds: 20
template:
metadata:
creationTimestamp: null
spec:
activeDeadlineSeconds: 20
containers:
- command:
- /bin/sh
- -c
- date; echo Hello from the Kubernetes cluster; sleep 200
image: busybox
name: time-limited-job
resources: {}
restartPolicy: Never
schedule: '*/2 * * * *'
failedJobsHistoryLimit: 2
successfulJobsHistoryLimit: 3
startingDeadlineSeconds: 30
status: {}
NAME ROLE AGE
sa-devops Role/sa-devops 26s
controlplane:~$ kubectl describe rolebinding sa-devops -n azure-pipeline
Name: sa-devops
Labels: <none>
Annotations: <none>
Role:
Kind: Role
Name: sa-devops
Subjects:
Kind Name Namespace
---- ---- ---------
ServiceAccount sa-devops azure-pipeline