we want cron jobs in openshift to be restartPolicy never because OnFilure k8s just keeps restarting and gives up with no logs, but Never allows the openshift job manager to restart it and keep the error pods around to see whats going on
This commit is contained in:
parent
158b4e4fa3
commit
f06a45f82f
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ spec:
|
|||
- mountPath: /etc/anitya
|
||||
name: config-volume
|
||||
readOnly: true
|
||||
restartPolicy: OnFailure
|
||||
restartPolicy: Never
|
||||
volumes:
|
||||
- configMap:
|
||||
defaultMode: 420
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue