kubernetes-cronhpa-controller
kubernetes-cronhpa-controller copied to clipboard
add cron mode & retryUpdateCronHpaStatus
add cron mode & retryUpdateCronHpaStatus
Could you explain what is cron mode.
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).
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?
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
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?
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
Would skip this time and retry later be better for this case?