cronhpa
Type: trait. From: the cronhpa addon.
kubernetes cron horizontal pod autoscaler trait
Also called cronhpa.
Parameters
targetAPIVersion string default apps/v1Specify the apiVersion of scale target
targetKind string default DeploymentSpecify the kind of scale target
excludeDates []stringSpecify the job will skip the execution when the dates is matched. The minimum unit is day.
hpaJobs[] (4) Specify multiple cron hpa jobs
name string requiredSpecify the name of hpa job, should be unique in one cronhpa spec
schedule string requiredSpecify the cron schedule strategy
targetSize int requiredSpecify the size you desired to scale when the scheduled time arrive
runOnce bool default falseSpecify if this job need executed repeatly, if runOnce is true then the job will only run and exit after the first execution.