Hi,

Maybe you should create a Job object instead of a DC object.
https://docs.openshift.com/container-platform/3.10/dev_guide/jobs.html

François

De : [email protected] 
<[email protected]> De la part de Marcello Lorenzi
Envoyé : lundi 12 novembre 2018 14:56
À : users <[email protected]>
Objet : OKD 3.10 restartPolicy into DC

Hi All,
we're trying to configure a DC with a pod executed in a batch mode. This pod 
completes its job and we would not restart it if the exit code is 0.
We tried to configure the restartPolicy on DC configuration to Never but the 
master-api doesn't permit this change.

Is it possible to configure this behavior on DC?

Thanks a lot,
Marcello
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to