Jan Wozniak
6fa0b98608
Prepare release v0.10.0 ( #1260 )
...
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
2025-02-21 14:09:32 +01:00
Jorge Turrado Ferrero
87e713c8e7
Prepare release 0.9.0 ( #1226 )
...
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
2024-12-26 17:35:05 +01:00
Jan Wozniak
f5ab058701
support portName in HTTPScaledObject service scaleTargetRef ( #1174 )
...
* support portName in HTTPScaledObject service scaleTargetRef
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
* mutually exclusive port and portName
Co-authored-by: Jirka Kremser <535866+jkremser@users.noreply.github.com>
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
* make manifests
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
* fix CEL syntax
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
* e2e test for portName
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
* use service lister instead of endpoints cache to get port from portName
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
* docs for v0.8.1 HTTPScaledObject
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
---------
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
Co-authored-by: Jirka Kremser <535866+jkremser@users.noreply.github.com>
2024-10-25 09:13:36 +02:00
Jorge Turrado Ferrero
e3d2e81220
chore: Update skipscaledobjectcreation annotation to align with KEDA annotations ( #1008 )
...
* chore: Update skip-scaledobject-creation to align with KEDA annotations
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
* use magic string during test to prevent not detected chained changes
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
---------
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
2024-04-30 22:11:09 +00:00
Jorge Turrado Ferrero
a4f9f39ac5
feat: Support aggregation options ( #961 )
...
* feat: Support aggregation options
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
* Updates
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
* Updates
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
* fix changelog
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
* style & codegen
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
* add mocks
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
* update docs
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
* fix e2e test
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
* merge issues
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
* update manifests
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
---------
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
2024-04-10 21:41:18 +00:00
Jorge Turrado Ferrero
98ad59dd13
docs: Add missing fields to reference descriptions ( #891 )
...
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2024-01-22 13:14:30 +00:00
Jorge Turrado Ferrero
214431250a
feat: Add support for any resource which implementes `/scale` subresource ( #852 )
2023-12-13 16:33:28 +01:00
Vighnesh Shenoy
7fed8bc4cc
Misc. doc changes for consistency and clarity. ( #496 )
2022-08-16 14:21:59 +02:00
Aaron Wislang
9feb10ca31
Update all references to HTTP Add-on / add-on ( #465 )
2022-06-08 08:20:53 +02:00
Aaron Schlesinger
84d97e4105
fixing targetPendingRequests in the HTTPScaledObject v0.2.0 documentation ( #372 )
...
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2022-01-25 15:23:45 -08:00
Aaron Schlesinger
f6b865e2ee
removing old conflict from ref doc ( #261 )
...
Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2021-09-21 07:22:11 +02: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
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
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
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
Aaron Schlesinger
fd4cdfe718
Not creating app deployments ( #78 )
...
* Allowing users to scale an existing deployment
Fixes https://github.com/kedacore/http-add-on/issues/35
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
* checking custom deployment info
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
* Adding tests for new deployment logic
Also generalizing test "infrastructure" code
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
* regenerating code
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
* Remove functionality to auto-create deployments and services
Users provide a scale target ref, which is the name of the
deployment to scale and the service to route to. They are required
to have already deployed these things already
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
* Adding more docs
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
* regenerating with 0.5.0 controller-gen
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
* fixing compile err
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
2021-03-19 12:58:29 -07:00