<p>The effect I want to achieve, for example, keep 10 pods running in daytime and keep 5 pods in night, change the number of pod Automatically between day and night.</p>

WeiQiang
<p>Scheduled scaling is discussed here: <a href="https://github.com/kubernetes/kubernetes/issues/49931" rel="nofollow noreferrer">https://github.com/kubernetes/kubernetes/issues/49931</a>.</p>
<p>There are several solutions proposed: CronJob, develop a new controller, ... I would have used a CronJob to update the <code>replicas</code> property of the deployments.</p>
