From d74b1dff6b0ade9e262220adf483ffac3f980709 Mon Sep 17 00:00:00 2001 From: Jorge Turrado Date: Sat, 9 Dec 2023 13:53:49 +0100 Subject: [PATCH] update envs Signed-off-by: Jorge Turrado --- config/interceptor/deployment.yaml | 2 +- examples/v0.6.0/httpscaledobject.yaml | 16 ++++++++++++++++ examples/v0.7.0/httpscaledobject.yaml | 16 ++++++++++++++++ 3 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 examples/v0.6.0/httpscaledobject.yaml create mode 100644 examples/v0.7.0/httpscaledobject.yaml diff --git a/config/interceptor/deployment.yaml b/config/interceptor/deployment.yaml index 3d62e983..cc7c7982 100644 --- a/config/interceptor/deployment.yaml +++ b/config/interceptor/deployment.yaml @@ -38,7 +38,7 @@ spec: value: "500ms" - name: KEDA_CONDITION_WAIT_TIMEOUT value: "20s" - - name: KEDA_HTTP_DEPLOYMENT_CACHE_POLLING_INTERVAL_MS + - name: KEDA_HTTP_ENDPOINTS_CACHE_POLLING_INTERVAL_MS value: "1000" - name: KEDA_HTTP_FORCE_HTTP2 value: "false" diff --git a/examples/v0.6.0/httpscaledobject.yaml b/examples/v0.6.0/httpscaledobject.yaml new file mode 100644 index 00000000..b0647617 --- /dev/null +++ b/examples/v0.6.0/httpscaledobject.yaml @@ -0,0 +1,16 @@ +kind: HTTPScaledObject +apiVersion: http.keda.sh/v1alpha1 +metadata: + name: xkcd +spec: + hosts: + - myhost.com + pathPrefixes: + - /test + scaleTargetRef: + name: xkcd + service: xkcd + port: 8080 + replicas: + min: 5 + max: 10 diff --git a/examples/v0.7.0/httpscaledobject.yaml b/examples/v0.7.0/httpscaledobject.yaml new file mode 100644 index 00000000..2e6fb6f2 --- /dev/null +++ b/examples/v0.7.0/httpscaledobject.yaml @@ -0,0 +1,16 @@ +kind: HTTPScaledObject +apiVersion: http.keda.sh/v1alpha1 +metadata: + name: xkcd +spec: + hosts: + - myhost.com + pathPrefixes: + - /test + scaleTargetRef: + deployment: xkcd + service: xkcd + port: 8080 + replicas: + min: 5 + max: 10