Skip to content

Commit 67cb519

Browse files
Update 8.Jobs.txt
1 parent fbdb394 commit 67cb519

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Kubernetes/Kubernetes Demo Files/8.Jobs.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,11 @@ spec:
7171
restartPolicy: Never
7272

7373
kubectl create -f cronjob.yaml
74+
75+
kubectl patch cronjob cronjob -p '{"spec":{"suspend":false}}'
76+
77+
concurrencyPolicy: Allow,Forbid,Replace
78+
Allow to allow multiple jobs runs at a time
79+
Forbid to wait a running job to finish first and then execute another instance of the job
80+
Replace to replace an existing job.
81+

0 commit comments

Comments
 (0)