kubernetes-cronhpa-controller icon indicating copy to clipboard operation
kubernetes-cronhpa-controller copied to clipboard

add cron mode & retryUpdateCronHpaStatus

Open LivingCcj opened this issue 3 years ago • 7 comments

add cron mode & retryUpdateCronHpaStatus

LivingCcj avatar Aug 13 '22 08:08 LivingCcj

Could you explain what is cron mode.

ringtail avatar Sep 01 '22 08:09 ringtail

cronMode : controller cron job work or not work. Enable: means cron job is work normal. Disable: means cron job is not work (set cron mode when upgrade service or stop cronhpa but not delete it).

LivingCcj avatar Sep 07 '22 15:09 LivingCcj

cronMode : controller cron job work or not work. Enable: means cron job is work normal. Disable: means cron job is not work (set cron mode when upgrade service or stop cronhpa but not delete it).

What's is the scene?

ringtail avatar Sep 08 '22 07:09 ringtail

base scene : cronhpa -> deployment when you upgrade deployment, the cronhpa will attack the upgrade operation, so it should skip this cron job. meanwhile cronhpa -> hpa -> deployment

LivingCcj avatar Sep 08 '22 13:09 LivingCcj

when you upgrade deployment, the cronhpa will attack the upgrade operation, so it should skip this cron job.

Do you mean cronhpa is in a very tiny duration?

ringtail avatar Sep 09 '22 03:09 ringtail

when you upgrade deployment, the cronhpa will attack the upgrade operation, so it should skip this cron job.

Do you mean cronhpa is in a very tiny duration?

if deployment type is Rolling update,cron job will disturb the procedure of rolling. there would take some risk

LivingCcj avatar Sep 09 '22 10:09 LivingCcj

Would skip this time and retry later be better for this case?

ringtail avatar Dec 12 '22 06:12 ringtail