Developers Add Native GCP Cloud Spanner Support to KEDA Autoscaler

A team running Kubernetes workloads that process jobs stored in Google Cloud Spanner tables built and contributed a new native Spanner scaler to KEDA, the open-source Kubernetes Event-Driven Autoscaling framework. The scaler allows Kubernetes to automatically adjust worker replica counts based on actual database queue depth, using any custom SQL query that returns a single integer value. Prior to this contribution, KEDA supported other GCP services such as Pub/Sub and Cloud Tasks, but lacked a Spanner integration. The implementation supports all three GCP authentication methods and is accompanied by 18 unit tests, 6 integration tests against the Cloud Spanner emulator, and an end-to-end test against a real Spanner instance. The pull request has been submitted to the official KEDA repository and documentation is available on keda.sh.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in