VerticaAutoscaler
Cannot find CPU metrics with VerticaAutoscaler
You might notice that your VerticaAutoScaler is not scaling correctly according to CPU utilization:
You receive this error because the metrics server is not installed:
To install the metrics server:
-
Download the components.yaml file:
-
Optionally, disable TLS:
-
Apply the YAML file:
-
Verify that the metrics server is running:
CPU request error with VerticaAutoscaler
You might receive an error that states:
failed to get cpu utilization: missing request for cpu
You get this error because you must set resource limits on all containers, including sidecar containers. To correct this error:
-
Verify the error:
-
Add resource limits to the CR:
-
Apply the update:
When you set a new CPU resource limit, Kubernetes reschedules each pod in the StatefulSet in a rolling update until all pods have the updated CPU resource limit.