Hi everyone, how your are doing ok.
I need to create a
HorizontalPodAutoscaler with the
ContainerResource metric type. This is because on each Pod I have two containers, one for the application and the otherone just as a logging sidecar. I only want to scale based on the application container.
When I try to deploy, this message is shown:
must populate information for the given metric source (only allowed when HPAContainerMetrics feature is enabled)
As far as I understand HPAContainerMetrics flag must be set on cluster creation. Is there a way to enable this afterwards?
Hope you can help.
Kubernetes version: 1.21.5