Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 771 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 771 Bytes

ScriptHPAScaler

概述

ScriptHPAScaler是一个脚本式方案的kubernetes水平pod autoscaler控制器. 您可以使用ScriptHPAScaler在 kubernetes 中定义的支持scale资源(例如DeploymentStatefulSet)的任何种类的对象。

安装

kubectl apply -f dist/install.yaml

验证安装

kubectl get deploy scripthpascaler-controller -n kube-system -o wide 

➜ kubectl get deploy scripthpascaler-controller -n kube-system
NAME                            DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE
scripthpascaler-controller         1         1         1            1           49s

例子

请试用示例文件夹中的示例