Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PredictKube scaler #2418

Merged
merged 30 commits into from
Jan 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
efd1913
Add PredictKube scaler
daniel-yavorovich Jan 10, 2022
98a2f5c
add auth logic for prometheus and predictkube scalers
alex60217101990 Jan 11, 2022
db228cd
add comments for auth logic
alex60217101990 Jan 12, 2022
a0f80d7
return pre-commit-config
alex60217101990 Jan 12, 2022
4b1334b
fix prometheus_scaler.go
alex60217101990 Jan 12, 2022
360fb6e
fix prometheus_scaler.go
alex60217101990 Jan 12, 2022
f86d99d
fix prometheus_scaler.go
alex60217101990 Jan 12, 2022
eae6c6f
add working e2e test for predictkube scaler
alex60217101990 Jan 13, 2022
50c49ca
Merge pull request #5 from dysnix/predictkube-scaler-prometheus-auth
daniel-yavorovich Jan 17, 2022
681e2d1
Merge pull request #6 from kedacore/main
daniel-yavorovich Jan 17, 2022
dad3bfc
Merge branch 'predictkube-scaler' into main
daniel-yavorovich Jan 17, 2022
4e0bb8d
Merge pull request #7 from dysnix/main
daniel-yavorovich Jan 17, 2022
68c2245
remove metricName field from metadata and add generation enums to Mak…
alex60217101990 Jan 25, 2022
3858893
revert old data
alex60217101990 Jan 25, 2022
37d29b8
Merge remote-tracking branch 'upstream/main' into main
alex60217101990 Jan 25, 2022
5c3c539
Merge branch 'main' into fix-pr-comments
alex60217101990 Jan 25, 2022
ab64321
Merge pull request #8 from dysnix/fix-pr-comments
daniel-yavorovich Jan 25, 2022
d096db8
fix TestPredictKubeParseMetadata
alex60217101990 Jan 25, 2022
f75d259
Merge pull request #9 from dysnix/fix-pr-comments
daniel-yavorovich Jan 25, 2022
65c4b11
fix TestPredictKubeGetMetricSpecForScaling
alex60217101990 Jan 25, 2022
078c4ed
Merge pull request #10 from dysnix/fix-pr-comments
daniel-yavorovich Jan 25, 2022
01521ca
remove generation enums with enums-go
alex60217101990 Jan 25, 2022
8ba8d7c
remove generation enums with enums-go
alex60217101990 Jan 25, 2022
3be6c50
Merge pull request #11 from dysnix/fix-pr-comments
daniel-yavorovich Jan 25, 2022
475cbe0
resolve go.mod, go.sum
alex60217101990 Jan 26, 2022
b46bbbf
Merge branch 'main' into predictkube-scaler
alex60217101990 Jan 26, 2022
7d69136
resolve go.mod, go.sum
alex60217101990 Jan 26, 2022
310121b
fix go.mongodb.org/mongo-driver version
alex60217101990 Jan 26, 2022
fca9ef3
fix go.mongodb.org/mongo-driver version
alex60217101990 Jan 26, 2022
9e0c960
add comment to method
alex60217101990 Jan 26, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
- Add New Relic Scaler ([#2387](https://github.com/kedacore/keda/pull/2387))
- Add ActiveMQ Scaler ([#2305](https://github.com/kedacore/keda/pull/2305))
- Add New Datadog Scaler ([#2354](https://github.com/kedacore/keda/pull/2354))
- Add PredictKube Scaler ([#2418](https://github.com/kedacore/keda/pull/2418))

### Improvements

Expand Down
21 changes: 19 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ require (
github.com/Shopify/sarama v1.31.0
github.com/aws/aws-sdk-go v1.42.40
github.com/denisenkom/go-mssqldb v0.12.0
github.com/dysnix/predictkube-libs v0.0.0-20220125103715-5502104557b3
github.com/dysnix/predictkube-proto v0.0.0-20211223141524-d309509b6b5f
github.com/elastic/go-elasticsearch/v7 v7.16.0
github.com/go-logr/logr v1.2.2
github.com/go-playground/assert/v2 v2.0.1
github.com/go-playground/validator/v10 v10.9.0
github.com/go-redis/redis/v8 v8.11.4
github.com/go-sql-driver/mysql v1.6.0
github.com/gocql/gocql v0.0.0-20211222173705-d73e6b1002a7
Expand All @@ -35,14 +38,17 @@ require (
github.com/newrelic/newrelic-client-go v0.70.0
github.com/onsi/ginkgo v1.16.5
github.com/onsi/gomega v1.18.0
github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.12.0
github.com/prometheus/common v0.32.1
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475
github.com/robfig/cron/v3 v3.0.1
github.com/streadway/amqp v1.0.0
github.com/stretchr/testify v1.7.0
github.com/tidwall/gjson v1.13.0
github.com/xdg/scram v1.0.5
github.com/xhit/go-str2duration/v2 v2.0.0
go.mongodb.org/mongo-driver v1.8.2
google.golang.org/api v0.65.0
google.golang.org/genproto v0.0.0-20220118154757-00ab72f36ad5
Expand Down Expand Up @@ -87,6 +93,7 @@ require (
github.com/NYTimes/gziphandler v1.1.1 // indirect
github.com/PuerkitoBio/purell v1.1.1 // indirect
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
github.com/andybalholm/brotli v1.0.3 // indirect
github.com/armon/go-metrics v0.3.9 // indirect
github.com/armon/go-radix v1.0.0 // indirect
github.com/beorn7/perks v1.0.1 // indirect
Expand All @@ -107,13 +114,15 @@ require (
github.com/emicklei/go-restful-swagger12 v0.0.0-20201014110547-68ccff494617 // indirect
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
github.com/fatih/color v1.7.0 // indirect
github.com/fatih/color v1.9.0 // indirect
github.com/felixge/httpsnoop v1.0.1 // indirect
github.com/fsnotify/fsnotify v1.5.1 // indirect
github.com/go-logr/zapr v1.2.0 // indirect
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/jsonreference v0.19.5 // indirect
github.com/go-openapi/swag v0.19.15 // indirect
github.com/go-playground/locales v0.14.0 // indirect
github.com/go-playground/universal-translator v0.18.0 // indirect
github.com/go-stack/stack v1.8.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang-jwt/jwt/v4 v4.2.0 // indirect
Expand All @@ -126,6 +135,7 @@ require (
github.com/google/uuid v1.3.0 // indirect
github.com/googleapis/gax-go/v2 v2.1.1 // indirect
github.com/googleapis/gnostic v0.5.5 // indirect
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 // indirect
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed // indirect
Expand Down Expand Up @@ -159,10 +169,12 @@ require (
github.com/jpillora/backoff v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/compress v1.13.6 // indirect
github.com/leodido/go-urn v1.2.1 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-colorable v0.1.8 // indirect
github.com/mattn/go-ieproxy v0.0.1 // indirect
github.com/mattn/go-isatty v0.0.12 // indirect
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
github.com/mitchellh/copystructure v1.0.0 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
Expand All @@ -172,12 +184,13 @@ require (
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f // indirect
github.com/nxadm/tail v1.4.8 // indirect
github.com/oklog/run v1.0.0 // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.32.1 // indirect
github.com/prometheus/procfs v0.7.3 // indirect
github.com/ryanuber/go-glob v1.0.0 // indirect
github.com/sirupsen/logrus v1.8.1 // indirect
Expand All @@ -186,6 +199,10 @@ require (
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.0 // indirect
github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80 // indirect
github.com/ulikunitz/unixtime v0.1.2 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasthttp v1.31.0 // indirect
github.com/wagslane/go-password-validator v0.3.0 // indirect
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
github.com/xdg-go/scram v1.0.2 // indirect
github.com/xdg-go/stringprep v1.0.2 // indirect
Expand Down
Loading