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 <[email protected]>
  • Loading branch information
kahirokunn committed Nov 8, 2024
1 parent 212b865 commit 6e989a9
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 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 All @@ -28,13 +28,20 @@ Install KEDA:
```bash
helm repo add kedacore https://kedacore.github.io/charts
helm repo update
helm install keda kedacore/keda --namespace keda --create-namespace
helm upgrade -i keda kedacore/keda --namespace keda --create-namespace --version 2.15.1
```

Install KEDA HTTP Add-on:

```bash
helm install http-add-on kedacore/keda-add-ons-http --namespace keda
helm upgrade -i http-add-on oci://quay.io/kahirokunn/keda-add-ons-http/keda-add-ons-http \
--version 0.9.0 \
-n keda \
--create-namespace \
--set images.tag=0.9.0 \
--set images.operator=quay.io/kahirokunn/http-add-on-operator \
--set images.interceptor=quay.io/kahirokunn/http-add-on-interceptor \
--set images.scaler=quay.io/kahirokunn/http-add-on-scaler
```

Install Flagger:
Expand All @@ -48,7 +55,9 @@ helm upgrade -i flagger flagger/flagger \
--create-namespace \
--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=quay.io/kahirokunn/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 6e989a9

Please sign in to comment.