-
Notifications
You must be signed in to change notification settings - Fork 439
K8S HPA Based On Sentinel Exported Metric(DRAFT)
Typically, in a cluster, Sentinel restricts the capacity of the cluster to handle the traffic through flow control. Direct rejection or other strategies for traffic exceeding the set processing capacity. In some scenario, that works good, but there are some scenarios in K8S cluster where users expect to be able to do dynamic horizontal scaling(HPA in K8S) based on some standard monitoring log data.
Key word:
In K8S HPA(Horizontal Pod Autoscaler), MetricServer Kubernetes is a structure that collects metrics from objects such as pods, nodes according to the state of CPU, RAM and keeps them in time. Metric-Server can be installed in the system as an addon.
In addition, K8S provide the Aggregator API to extend API Server, User could define custom metrics and use them for HPA.
- Extend APIService based on aggregate APIServer and provide Custom Metrics Server to collect application monitoring metrics
- More adaptable HPA based on application custom metrics.
-
文档
-
Documents (EN)