# Open-Prediction Scaler 

Open-prediction scaler is a new scaler in KEDA to predict the next observation (e.g. rate of requests).



Open-prediction scaler is online predictive scaling based on Prometheus metrics & provided Prediction Service.
![img.png](img.png)

### Build and Publish
```
$ make build
$ sudo PATH=/usr/local/go/bin:"$PATH" IMAGE_REGISTRY=docker.io IMAGE_REPO=mhdbashar make publish
$ sudo PATH=/usr/local/go/bin:"$PATH" IMAGE_REGISTRY=docker.io IMAGE_REPO=mhdbashar make deploy
```
### Useful links:
- Main repo of [KEDA](https://github.com/kedacore/keda)
- [How To Write A Weather Scaler For KEDA](https://nilayasiktoprak.medium.com/how-to-write-a-weather-scaler-for-keda-454183c57790)
- [Predictkube](https://dysnix.com/predictkube)