Commit Graph

247 Commits

Author SHA1 Message Date
dependabot[bot] 298115de06
Bump sigs.k8s.io/controller-runtime from 0.9.2 to 0.10.0 (#253)
Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.9.2 to 0.10.0.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
- [Commits](https://github.com/kubernetes-sigs/controller-runtime/compare/v0.9.2...v0.10.0)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-runtime
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2021-09-20 19:08:37 +00:00
Aaron Schlesinger aa4e0a82b7
Specifying target in scaler for specific host (#242)
* multi-tenant interceptor and scaler

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* specifying host in XKCD ingress

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* routing the xkcd chart to the interceptor properly

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* check host header first

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* sending true active response in stream

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* passing target pending requests through to the underlying ScaledObject (so the scaler can read it later)

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* removing broken target pending requests

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* using getHost in proxy handler

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* adding integration test

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* adding more tests to the integration test

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* splitting up integration tests

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* more checks

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* mark new test TODO

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* expanding interceptor integration tests

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* error messages

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* refactor test

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* more test improvements

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* rolling back target pending requests in ScaledObject

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* removing target metric error. it's not used anymore

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* improving waitFunc test

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* Refactoring the deployment cache to add better error handing and resilience.

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* adding doc comment

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* refactoring deploy cache and adding tests

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* Using interfaces for deployment watch & list

this makes tests easier

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* adding more deploy cache tests

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* Fixing up TestK8sDeploymentCacheRewatch

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* shutting down everything else when one thing errors, and adding a deployments cache endpoint

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* removing commented code

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* clarifying deployment cache JSON output, and simplifying deployment watch function

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* adding TODO tests

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* error logs and restoring the count middleware

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* using consistent net/http package name throughout main.go

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* Refactoring deployment cache deployment storage

Also, running go mod tidy and adding new TODO (i.e. failing) tests

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* using deployment.Status.ReadyReplicas, instead of just replicas

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* integration_tets ==> proxy_handlers_integration_test

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* adding some resilience to tests

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* adding deployment cache endpoint documentation

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* Specifying target size for specific host in scaler

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* sending targetPendingRequests to scalers via the routing table

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* using routing table reader interface in scaler

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2021-09-13 17:59:01 +00:00
dependabot[bot] 9f963f293a
Bump go.uber.org/zap from 1.19.0 to 1.19.1 (#260)
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.19.0 to 1.19.1.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.19.0...v1.19.1)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-13 10:27:27 -07:00
Aaron Schlesinger 27612dabee
adding Ajanth as a code owner (#256)
Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2021-09-08 19:27:26 +00:00
Aaron Schlesinger 78e5a73a04
Documenting the targetPendingRequests field (#233)
* documenting the targetPendingRequests field

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* moving more technical documentation into the design doc

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* spacing

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2021-09-08 19:21:32 +00:00
dependabot[bot] bf8ae064d4
Bump go.uber.org/zap from 1.17.0 to 1.19.0 (#251)
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.17.0 to 1.19.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.17.0...v1.19.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2021-09-07 11:22:26 -07:00
dependabot[bot] 2c64bb4a61
Bump github.com/google/uuid from 1.1.2 to 1.3.0 (#254)
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.1.2 to 1.3.0.
- [Release notes](https://github.com/google/uuid/releases)
- [Commits](https://github.com/google/uuid/compare/v1.1.2...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/google/uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-07 10:34:13 -07:00
Aaron Schlesinger c211da9bd1
Multi-tenant interceptor and scaler (#206)
* multi-tenant interceptor and scaler

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* specifying host in XKCD ingress

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* routing the xkcd chart to the interceptor properly

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* check host header first

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* sending true active response in stream

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* passing target pending requests through to the underlying ScaledObject (so the scaler can read it later)

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* removing broken target pending requests

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* using getHost in proxy handler

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* adding integration test

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* adding more tests to the integration test

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* splitting up integration tests

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* more checks

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* mark new test TODO

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* expanding interceptor integration tests

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* error messages

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* refactor test

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* more test improvements

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* rolling back target pending requests in ScaledObject

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* removing target metric error. it's not used anymore

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* improving waitFunc test

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* Refactoring the deployment cache to add better error handing and resilience.

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* adding doc comment

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* refactoring deploy cache and adding tests

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* Using interfaces for deployment watch & list

this makes tests easier

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* adding more deploy cache tests

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* Fixing up TestK8sDeploymentCacheRewatch

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* shutting down everything else when one thing errors, and adding a deployments cache endpoint

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* removing commented code

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* clarifying deployment cache JSON output, and simplifying deployment watch function

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* adding TODO tests

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* error logs and restoring the count middleware

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* using consistent net/http package name throughout main.go

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* Refactoring deployment cache deployment storage

Also, running go mod tidy and adding new TODO (i.e. failing) tests

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* using deployment.Status.ReadyReplicas, instead of just replicas

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* integration_tets ==> proxy_handlers_integration_test

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* adding some resilience to tests

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* adding deployment cache endpoint documentation

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* running the global test target with sh.RunV

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* adding timeout to magefile test target

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>

* finishing one TODO test and adding issue for the rest:

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2021-09-03 10:19:20 +02:00
dependabot[bot] a0a7969a6d
Bump github.com/onsi/gomega from 1.15.0 to 1.16.0 (#237)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-23 10:56:31 -07:00
dependabot[bot] e1d421398c
Bump github.com/labstack/echo/v4 from 4.4.0 to 4.5.0 (#215)
Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/labstack/echo/releases)
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/labstack/echo/compare/v4.4.0...v4.5.0)

---
updated-dependencies:
- dependency-name: github.com/labstack/echo/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-19 09:37:10 -07:00
dependabot[bot] 9ea87ecf8b
Bump github.com/onsi/gomega from 1.14.0 to 1.15.0 (#220)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.14.0...v1.15.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2021-08-18 22:45:22 +00:00
Ajanth 2a88fcdeb9
Added targetMetric field in CRD (#168)
* Forgot to sign last commit

Signed-off-by: Ajanth <ajanth1997@gmail.com>

* chore: KEDA was accepted as CNCF Incubation project (#229)

KEDA was accepted as CNCF Incubation project as per https://github.com/cncf/toc/pull/622

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Signed-off-by: Ajanth <ajanth1997@gmail.com>

* Duplicate Release Process

Signed-off-by: Ajanth <ajanth1997@gmail.com>

* Duplicate

Signed-off-by: Ajanth <ajanth1997@gmail.com>

* duplicate

Signed-off-by: Ajanth <ajanth1997@gmail.com>

* Delete developing 2.md

Signed-off-by: Ajanth <ajanth1997@gmail.com>

* func GetInt64Or isn't used so deleting it

Signed-off-by: Ajanth <ajanth1997@gmail.com>

* Changing to TargetPendingRequests

Signed-off-by: Ajanth <ajanth1997@gmail.com>

* Update external_scaler.go

Signed-off-by: Ajanth <ajanth1997@gmail.com>

* Update http.keda.sh_httpscaledobjects.yaml

Signed-off-by: Ajanth <ajanth1997@gmail.com>

Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2021-08-18 21:19:26 +00:00
Tom Kerkhove 99aee5fc26
chore: KEDA was accepted as CNCF Incubation project (#229)
KEDA was accepted as CNCF Incubation project as per https://github.com/cncf/toc/pull/622

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2021-08-18 21:25:24 +02:00
Aaron Schlesinger cde901f266
adding release process document (#211)
* adding release process document

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* updating helm chart and adding docs/blog

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* fixing links

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-07-20 09:37:26 +02:00
dependabot[bot] edc5cf7513
Bump google.golang.org/protobuf from 1.26.0 to 1.27.1 (#207)
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go) from 1.26.0 to 1.27.1.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash)
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.26.0...v1.27.1)

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-19 15:32:12 -07:00
dependabot[bot] b5a81bb39f
Bump github.com/labstack/echo/v4 from 4.3.0 to 4.4.0 (#209)
Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/labstack/echo/releases)
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/labstack/echo/compare/v4.3.0...v4.4.0)

---
updated-dependencies:
- dependency-name: github.com/labstack/echo/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2021-07-14 12:53:07 -07:00
dependabot[bot] d0234811f0
Bump github.com/onsi/gomega from 1.13.0 to 1.14.0 (#208)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.13.0...v1.14.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-12 14:39:19 -07:00
Aaron Schlesinger 41ebdf507f
Factoring the HTTP Transport out of the forwarder (#184)
This commit reuses the `http.RoundTripper` so that we pool connections.
Before, we were creating a new round tripper -- and hence, a new
connection pool -- every time we forwarded a request. The result
was that we were not reusing connection, and were attempting to
create _new_ connections every time we forwarded a request.

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-07-01 22:41:49 +00:00
Aaron Schlesinger d05e32f03a
Removing the Makefile (#194)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2021-07-01 22:36:52 +00:00
Aaron Schlesinger 0238aee01a
adding GOOS and GOARCH to the Dockerfiles (#186)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-07-01 22:33:48 +00:00
Aaron Schlesinger 09f3812e19
Checking for type assertion success (#181)
Fixes https://github.com/kedacore/http-add-on/issues/174

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2021-07-01 05:24:02 +00:00
Aaron Schlesinger c0aaa608bb
Fixing kubectl command in walkthrough documentation (#205)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-06-30 18:02:09 +00:00
Aaron Schlesinger 8c4d4a7046
setting proper tag version in release script (#198)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-06-24 08:02:57 -07:00
Aaron Schlesinger 3320091f01
removing the 'alpha' notice from the README (#192)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-06-24 06:26:05 +00:00
Aaron Schlesinger f42c8f5441
Updating the issue, PR and feature request templates (#193)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-06-24 08:20:05 +02:00
Aaron Schlesinger 929fc9707e
Adding CoC (#178)
* Adding CoC

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* adding note about CoC in contributing doc

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-06-17 05:26:59 +00:00
dependabot[bot] 79470adccc
Bump github.com/labstack/echo/v4 from 4.2.2 to 4.3.0 (#162)
Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.2.2 to 4.3.0.
- [Release notes](https://github.com/labstack/echo/releases)
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/labstack/echo/compare/v4.2.2...v4.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-06-16 17:56:14 +00:00
dependabot[bot] fe25494039
Bump github.com/onsi/gomega from 1.11.0 to 1.13.0 (#176)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.11.0 to 1.13.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.11.0...v1.13.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2021-06-16 10:50:36 -07:00
Aaron Schlesinger 2fc3dc80d5
Distinguishing the contributing and developing documentation (#180)
* Distinguishing the contributing and developing documentation

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* Using the kedacore .github repo's CONTRIBUTING.md file

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-06-16 17:20:21 +00:00
dependabot[bot] cdc9d9cb09
Bump github.com/onsi/ginkgo from 1.16.1 to 1.16.4 (#177)
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo) from 1.16.1 to 1.16.4.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v1.16.1...v1.16.4)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-15 15:07:30 -07:00
Aaron Schlesinger 8a28568a2f
removing the 'v' prefix from image names (#167)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2021-06-03 11:37:03 -07:00
Aaron Schlesinger efb92393d1
Fixing link to the XKCD Chart (#175)
Also adding slightly more explanation about the chart and
relevant HTTPScaledObject

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-06-03 07:22:36 +02:00
Aaron Schlesinger 9570de0f1b
simplifying the magefile (#152)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-05-31 14:11:14 +02:00
Aaron Schlesinger 7bbcc91cb5
Clarifying the install document (#170) 2021-05-25 14:11:08 +02:00
Lucas Santos 6442f7769c
Move charts to keda/charts (#125)
* Move charts to keda/charts

Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>

* Update install docs

Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>

* Change repository name to match charts

Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>

* Fix spacing

Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>

* Re add xkcd as example

Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>

* Add files from #150

Co-authored-by: Aaron Schlesinger <aaron@ecomaz.net>
Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>

* Update instructions following new chart location

Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>

* Fix broken link

Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>

Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
Co-authored-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-05-18 22:34:12 +00:00
Aaron Schlesinger 0e516f4dea
removing unused code (#135)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-05-18 19:52:25 +00:00
Aaron Schlesinger 22c912071b
Fixing app creation timing issue (#116)
* upgrading all dockerfile Go versions to 1.16

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* creating new targets for the example/test HTTPScaledObject

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* moving external scaler generated files

the scaler uses the server stubs but the operator now needs to use the client, so it needs to move out of the scaler binary

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* progress on code to wait for scaler

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* checking deployment replicas:

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* Adding health check endpoints to the scaler

Also centralizing config for the scaler with envconfig

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* Closing both the gRPC server and HTTP healthcheck server on context cancel/timeout

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* adding util functions for adding liveness/readiness probes

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* fixing var name

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* adding readiness and liveness probes, and tests for it

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* printing output for scaler tests, even when they fail

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* simplifying scaler health check code

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* adding health check test code to scaler

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-05-18 18:55:47 +00:00
Aaron Schlesinger b78a484028
Using the interceptor handler directly (#151)
* Using the interceptor handler directly

Instead of attaching the handler to a catch-all route on a mux
and then serving the mux over HTTP, this simply attaches the
interceptor handler directly to the HTTP listener. The effect
is the same.

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>

* adding log line to interceptor startup

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-05-18 09:51:59 -07:00
Aaron Schlesinger 730509f762
Adding note on installing the canary versions of images (#166)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-05-12 07:14:37 +02:00
Lucas Santos 4ec42512c6
validating pull policies (#161)
* Make imagePullPolicy configurable

Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>

* Fix tests

Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>

* Pass on config from main

Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>

* Ensure policy string

Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>

* Fix tests

Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>

* Fix test

Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>

Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2021-05-06 16:56:36 -07:00
Lucas Santos 2d14117680
Make imagePullPolicy configurable (#155)
* Make imagePullPolicy configurable

Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>

* Fix tests

Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>

* Pass on config from main

Signed-off-by: Lucas Santos <lhs.santoss@gmail.com>

Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2021-05-06 16:26:02 -07:00
Tom Kerkhove 9bb3c8e5b9
fix: Don't use env. in environment definitions (#158)
Signed-off-by: GitHub <noreply@github.com>
2021-05-04 11:23:17 -07:00
Tom Kerkhove c25f9b43a5
fix: Push images to GitHub Container Registry, not Docker Hub (#157)
Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2021-04-28 20:33:30 +02:00
Aaron Schlesinger f939c2c985
Adding a next steps link to the end of the install.md page (#153)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-04-28 07:54:00 +02:00
Aaron Schlesinger 406027f762
Logging in to GHCR with the GITHUB_TOKEN instead of the PAT (#156)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-04-28 07:27:31 +02:00
Aaron Schlesinger 0b06e78d6b
making triggers a list, which is required for KEDA scaled objects (#146)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-04-27 13:36:07 -07:00
Aaron Schlesinger 18d4cda836
versioning the HTTPScaledObject example and reference (#143)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-04-27 12:23:12 -07:00
Michael Gasch 01465bdcb7
Update faq.md (#154)
Remove requirement of Service Mesh in Knative

Signed-off-by: Michael Gasch <mgasch@vmware.com>
2021-04-26 14:27:58 -07:00
Aaron Schlesinger c44234a072
using GITHUB_TOKEN for docker images (#148)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-04-22 11:49:11 -07:00
Aaron Schlesinger b74cbaa05c
fixing docker push actions (#144)
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-04-21 10:27:03 +02:00