From 6e989a93b97059cfeabb4ed1e72626f93f9d5d8c Mon Sep 17 00:00:00 2001 From: kahirokunn Date: Fri, 8 Nov 2024 11:03:07 +0900 Subject: [PATCH] Changes will be made to make it easier to review. This commit will be dropped when the review is complete. Signed-off-by: kahirokunn --- docs/gitbook/tutorials/keda-httpscaledobject.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/docs/gitbook/tutorials/keda-httpscaledobject.md b/docs/gitbook/tutorials/keda-httpscaledobject.md index ca9aa2672..adcd3534e 100644 --- a/docs/gitbook/tutorials/keda-httpscaledobject.md +++ b/docs/gitbook/tutorials/keda-httpscaledobject.md @@ -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 @@ -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: @@ -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