Openshift re-rollout failed latest deployment config

2/13/2020

I have the following situation: there is a Deployment Config as YAML file, which i create with $ oc create\apply -f filename.yml The DC has defined linevess and readiness probes. After 10 minutes the rollout fails with some problem related to environment(not the problem with application inside Docker image) After fixing this problem the command oc apply -f filename.yml wont do anything because Openshift thinks the config remained the same. Is there any option to add to my DC to retry rollout\start the rollout with the same configuration if and only if the previous was not successful while doing oc apply?

-- Mediumking
docker
kubernetes
openshift

0 Answers