Share via

Kubernetes/KEDA

Er, Dilber 1 Reputation point
2021-08-13T20:09:32.63+00:00

how can I scale down pods to 0 and back up on a schedule in Kubernetes

Azure Kubernetes Service
Azure Kubernetes Service

An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Er, Dilber 1 Reputation point
    2021-08-18T11:59:49.937+00:00

    thank you so much!

    Was this answer helpful?

    0 comments No comments

  2. Er, Dilber 1 Reputation point
    2021-08-16T11:49:36.9+00:00

    Thank you for the response. Should it be in conjunction with the API-initiated Eviction? or Cron Scaler is enough? so can I scale down the pods in the resource to 0 at 9 pm and back up at 8 am? When it is up, it will still have the ability to auto-scale when the app is needed, right? I'm asking to learn. Thank you!

    Was this answer helpful?


  3. SRIJIT-BOSE-MSFT 4,346 Reputation points Microsoft Employee Moderator
    2021-08-16T04:11:32.73+00:00

    @Er, Dilber , thank you for your question.

    You can use the Cron Scaler available for KEDA to scale applications based on a cron schedule. Trigger Specification and Example are mentioned in the link shared.

    ----------

    ​Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as convenient to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
    There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    ----------

    Hope this helps.

    Please "Accept as Answer" if it helped, so that it can help others in the community looking for help on similar topics.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.