# Cutting over-provisioning with KEDA: cron, external triggers, and a Selenium Grid queue

DevFeed: [Cutting over-provisioning with KEDA: cron, external triggers, and a Selenium Grid queue](<https://devfeed.tech/articles/cutting-over-provisioning-with-keda-cron-external-triggers-and-a-selenium-grid-queue-34031.md>)

Original publisher: [Read original article](<https://andikaahmad.com/blog/keda-autoscaling/>)

Published: 2024-09-04T00:00:00Z

Content type: article

Language: en

Sources: [Andika Ahmad Ramadhan -- Blog](<https://devfeed.tech/sources/andika-ahmad-ramadhan-blog.md>)

Topics: [autoscaling](<https://devfeed.tech/topics/autoscaling.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Selenium](<https://devfeed.tech/topics/selenium.md>), [Testing](<https://devfeed.tech/topics/testing.md>), [HashiCorp Vault](<https://devfeed.tech/topics/hashicorp-vault.md>), [migration](<https://devfeed.tech/topics/migration.md>), [Prometheus](<https://devfeed.tech/topics/prometheus.md>)

Tags: [autoscaling](<https://devfeed.tech/tags/autoscaling.md>), [cost](<https://devfeed.tech/tags/cost.md>), [hashicorp-vault](<https://devfeed.tech/tags/hashicorp-vault.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [migration](<https://devfeed.tech/tags/migration.md>), [prometheus](<https://devfeed.tech/tags/prometheus.md>), [selenium](<https://devfeed.tech/tags/selenium.md>), [testing](<https://devfeed.tech/tags/testing.md>)

## AI overview

An experience report on using KEDA cron and external scalers to reduce idle Kubernetes capacity. It describes scaling workloads by schedules, queue depth, and Prometheus queries, including a Selenium Grid whose browser nodes scale with queued test sessions. The article also discusses migration from VMs to Kubernetes and a Vault-related operator bug discovered in production.

## Source excerpt

How I used KEDA cron scalers, external triggers, and Selenium Grid queue scalers to stop paying for idle replicas in production.