https://github.com/busybox-org/scripthpascaler
脚本式方案的kubernetes水平pod autoscaler控制器
https://github.com/busybox-org/scripthpascaler
autoscaler http k8s plugin rabbitmq redis
Last synced: 7 months ago
JSON representation
脚本式方案的kubernetes水平pod autoscaler控制器
- Host: GitHub
- URL: https://github.com/busybox-org/scripthpascaler
- Owner: busybox-org
- Created: 2022-04-02T14:17:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-20T04:17:40.000Z (7 months ago)
- Last Synced: 2025-03-20T04:30:14.370Z (7 months ago)
- Topics: autoscaler, http, k8s, plugin, rabbitmq, redis
- Language: Go
- Homepage:
- Size: 162 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ScriptHPAScaler
## 概述
`ScriptHPAScaler`是一个脚本式方案的`kubernetes`水平`pod` `autoscaler`控制器. 您可以使用`ScriptHPAScaler`在 kubernetes 中定义的支持`scale`资源(例如`Deployment`和`StatefulSet`)的任何种类的对象。## 安装
```bash
kubectl apply -f dist/install.yaml
```
## 验证安装```bash
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
```## 例子
请试用[示例文件夹中的示例](https://github.com/xmapst/ScriptHPAScaler/tree/main/config/samples)。