This commit is contained in:
@@ -5,16 +5,6 @@ metadata:
|
|||||||
---
|
---
|
||||||
apiVersion: batch/v1
|
apiVersion: batch/v1
|
||||||
kind: CronJob
|
kind: CronJob
|
||||||
spec:
|
|
||||||
affinity:
|
|
||||||
nodeAffinity:
|
|
||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
|
||||||
nodeSelectorTerms:
|
|
||||||
- matchFields:
|
|
||||||
- key: metadata.name
|
|
||||||
operator: In
|
|
||||||
values:
|
|
||||||
- kube-master
|
|
||||||
metadata:
|
metadata:
|
||||||
name: dyndns-pythonrenew
|
name: dyndns-pythonrenew
|
||||||
namespace: dyndns-python
|
namespace: dyndns-python
|
||||||
@@ -23,6 +13,7 @@ spec:
|
|||||||
jobTemplate:
|
jobTemplate:
|
||||||
spec:
|
spec:
|
||||||
ttlSecondsAfterFinished: 100
|
ttlSecondsAfterFinished: 100
|
||||||
|
backoffLimit: 4
|
||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
|
|||||||
Reference in New Issue
Block a user