alcor
alcor copied to clipboard
[Scalability] Enable Horizontal Pod Autoscaler (HPA) for Alcor deployment
-
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)
-
Deploy Metrics-Server in cluster.
-
Deploy Horizontal Pod Autoscaler for each deployment with customized hpa yaml.
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.
@yanmo96 We need to test this PR and get it merged by 2/28.