Question about autoscaling target
Hello everyone. I was wondering if there is a way to tell Knative to apply scaling decisions on a custom resource field instead of the usual Deployment/ReplicaSet "replicas" field.
I built a Custom Controller that creates Pods monitoring these Custom Resources instead of Deployments. I wanted to know if there is a way to insert my Controller in the usual Knative pipeline.
The idea is that the Knative Autoscaler would change the "replicas" field in my resources, thus triggering my Controller.
Hey @StefT2800 right now no. But at some point our autoscaler could switch to using the /scale subresource. (ref: https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#scale-subresource)
I can't say for certain that's the only hard link - I would have to confirm