crossplane-contrib / provider-gcp

Crossplane GCP provider
Apache License 2.0
127 stars 100 forks source link

Feature: Implement /scale subresource to allow resource autoscaling #304

Open tomkerkhove opened 3 years ago

tomkerkhove commented 3 years ago

What problem are you facing?

Autoscaling Azure resources can be hard and would be nice to have it integrated.

How could Crossplane help solve your problem?

KEDA is an application autoscaler for KEDA which allows you to autoscale anything, as long as it supports /scale subresource.

If this provider would support it, we could automatically scale resources based on metrics.

muvaf commented 3 years ago

Hi @tomkerkhove ! What do you mean by scaling here? If it means to have more than one instance of the controller pod, it'd not really work with Kubernetes controllers since there has to be only a single controller at a time in the cluster.

tomkerkhove commented 3 years ago

No I was more thinking about scaling the resources that are being created. For example, give a SQL instance more resources.