Skip to content

Commit

Permalink
Changes will be made to make it easier to review.
Browse files Browse the repository at this point in the history
This commit will be dropped when the review is complete.

Signed-off-by: kahirokunn <okinakahiro@gmail.com>
  • Loading branch information
kahirokunn committed Nov 8, 2024
1 parent 2c7cf72 commit 23e73cc
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/gitbook/tutorials/keda-httpscaledobject.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This guide shows you how to use Flagger with KEDA HTTPScaledObjects which will automatically scale (including to/from zero) based on incoming HTTP traffic a Canary analysis run.

![Flagger Canary Stages](https://raw.githubusercontent.com/fluxcd/flagger/main/docs/diagrams/flagger-keda-http-add-on.png)
![Flagger Canary Stages](https://github.com/fluxcd/flagger/blob/dbde37581e052e74e3456cafaf8ec37d3a9e8c77/docs/diagrams/flagger-keda-http-add-on.png)

## Prerequisites

Expand Down Expand Up @@ -34,7 +34,11 @@ helm install keda kedacore/keda --namespace keda --create-namespace
Install KEDA HTTP Add-on:

```bash
helm install http-add-on kedacore/keda-add-ons-http --namespace keda
helm install http-add-on kedacore/keda-add-ons-http --namespace keda \
--set images.tag=0.9.0 \
--set images.operator=docker.io/kahiro/http-add-on-operator \
--set images.interceptor=docker.io/kahiro/http-add-on-interceptor \
--set images.scaler=docker.io/kahiro/http-add-on-scaler
```

Install Flagger:
Expand All @@ -48,7 +52,9 @@ helm upgrade -i flagger flagger/flagger \
--namespace flagger-system \
--set prometheus.install=false \
--set meshProvider=gatewayapi:v1 \
--set metricsServer=http://prometheus.istio-system:9090
--set metricsServer=http://prometheus.istio-system:9090 \
--set image.repository=docker.io/kahiro/flagger \
--set image.tag=latest
```

> Note: The above installation sets the mesh provider to be `gatewayapi:v1`. If your Gateway API implementation uses the `v1beta1` CRDs, then
Expand Down

0 comments on commit 23e73cc

Please sign in to comment.