Feature Request - Setup `hpaSpec` for istio-operator
@jcarnes noticed this and thought is was a good config change, and thought it should be included in this package.
The istio-operator can be configured with a horizontal pod autoscaler.
Several istio pods are designed to autoscale through the use of HPA. It defaults 1 to 5 pods based on cpu usage. However, the metrics-server plugin is not installed so the HPA cannot autoscale (do a kubectl get hpa -n istio-system and you'll see it's unknown). You can get Prometheus to provide the metrics, but this requires some additional plumbing.
If this a desired feature, we either need to install metrics-server or we need to do the additional pluming to make HPA point to prometheus. Both mean applying additional applications (metrics-server OR prometheus-exporter). Either way, currently there's nothing serving usage metrics that kubernetes can use to autoscale.
Two questions:
- Is this a worthwhile addition?
- If the BB team thinks this is a good addition, would you be interested in an MR or would you like to implement?