Skip to content

Commit

Permalink
fix: Rename keda-http-add-on-interceptor-proxy to keda-add-ons-http-i…
Browse files Browse the repository at this point in the history
  • Loading branch information
kahirokunn committed May 21, 2024
1 parent e04c242 commit d9224b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/walkthrough.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ kubectl apply -n $NAMESPACE -f examples/v0.8.0/httpscaledobject.yaml
You've now installed a web application and activated autoscaling by creating an `HTTPScaledObject` for it. For autoscaling to work properly, HTTP traffic needs to route through the `Service` that the add-on has set up. You can use `kubectl port-forward` to quickly test things out:

```console
kubectl port-forward svc/keda-http-add-on-interceptor-proxy -n ${NAMESPACE} 8080:8080
kubectl port-forward svc/keda-add-ons-http-interceptor-proxy -n ${NAMESPACE} 8080:8080
```

### Routing to the Right `Service`

As said above, you need to route your HTTP traffic to the `Service` that the add-on has created during the installation. If you have existing systems - like an ingress controller - you'll need to anticipate the name of these created `Service`s. Each one will be named consistently like so, in the same namespace as the `HTTPScaledObject` and your application (i.e. `$NAMESPACE`):

```console
keda-http-add-on-interceptor-proxy
keda-add-ons-http-interceptor-proxy
```

> This is installed by raw manifests. If you are using the [Helm chart](https://github.com/kedacore/charts/tree/main/http-add-on) to install the add-on, it crates a service named `keda-add-ons-http-interceptor-proxy` as a `ClusterIP` by default.
Expand Down Expand Up @@ -85,7 +85,7 @@ curl -H "Host: myhost.com" <Your IP>/path1
You can also use port-forward to interceptor service for making the request:

```console
kubectl port-forward svc/keda-http-add-on-interceptor-proxy -n ${NAMESPACE} 8080:8080
kubectl port-forward svc/keda-add-ons-http-interceptor-proxy -n ${NAMESPACE} 8080:8080
curl -H "Host: myhost.com" localhost:8080/path1
```

Expand Down
2 changes: 1 addition & 1 deletion examples/xkcd/templates/externalservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ metadata:
{{- include "xkcd.labels" . | nindent 4 }}
spec:
type: ExternalName
externalName: keda-http-add-on-interceptor-proxy.keda
externalName: keda-add-ons-http-interceptor-proxy.keda

0 comments on commit d9224b5

Please sign in to comment.