alcor icon indicating copy to clipboard operation
alcor copied to clipboard

[Scalability] Enable Horizontal Pod Autoscaler (HPA) for Alcor deployment

Open kevin-zhonghao opened this issue 4 years ago • 2 comments

  1. Configure cluster and network configuration to meet the requirements on using Metrics Server:

    • Metrics Server must be reachable from kube-apiserver by container IP address (or node IP if hostNetwork is enabled).
    • The kube-apiserver must enable an aggregation layer.
    • Nodes must have Webhook authentication and authorization enabled.
    • Kubelet certificate needs to be signed by cluster Certificate Authority (or disable certificate validation by passing --kubelet-insecure-tls to Metrics Server)
    • Container runtime must implement a container metrics RPCs (or have cAdvisor support)
  2. Deploy Metrics-Server in cluster.

  3. Deploy Horizontal Pod Autoscaler for each deployment with customized hpa yaml.

kevin-zhonghao avatar Aug 15 '21 19:08 kevin-zhonghao

Some preliminary test in the Medina cluster appears to be quite promising.

The current 0.19 release already contains a lot of new features therefore we decided to move this feature to 12/30 release.

xieus avatar Oct 03 '21 19:10 xieus

@yanmo96 We need to test this PR and get it merged by 2/28.

xieus avatar Feb 01 '22 19:02 xieus