Skip to content
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.

Commit

Permalink
Updated readme's
Browse files Browse the repository at this point in the history
  • Loading branch information
jsturtevant committed Oct 1, 2018
1 parent 93ecef7 commit 6cdf0ac
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 35 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ This adapter enables you to scale your [application deployment pods](https://kub

Try it out:

- [external metric scaling video](https://www.youtube.com/watch?v=5pNpzwLLzW4&feature=youtu.be)
- [custom metric scaling video](https://www.youtube.com/watch?v=XcKcxh3oHxA)
- [deploy the adapter](#deploy)
- [servicebus queue walkthrough](samples/servicebus-queue/readme.md)
- [External metric scaling video](https://www.youtube.com/watch?v=5pNpzwLLzW4&feature=youtu.be)
- [Custom metric scaling video](https://www.youtube.com/watch?v=XcKcxh3oHxA)
- [Deploy the adapter](#deploy)
- [Azure Service Bus queue walkthrough](samples/servicebus-queue/readme.md)
- [Request Per Second (RPS) walkthrough](samples/request-per-second/readme.md)

This was build using the [Custom Metric Adapter Server Boilerplate project](https://github.com/kubernetes-incubator/custom-metrics-apiserver). Learn more about [using an HPA to autoscale with external and custom metrics](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-metrics-not-related-to-kubernetes-objects).
Expand Down
26 changes: 0 additions & 26 deletions samples/hpa-examples/hpa-with-subscription.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions samples/hpa-examples/readme.md

This file was deleted.

4 changes: 3 additions & 1 deletion samples/servicebus-queue/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ sed -i 's|sb-external-ns|'${SERVICEBUS_NS}'|g' deploy/externalmetric.yaml
kubectl apply -f deploy/externalmetric.yaml
```
> note: the ExternalMetric configuration is deployed per namespace.
You can list of the configured external metrics via:
```
Expand All @@ -178,7 +180,7 @@ Deploy the HPA:
kubectl apply -f deploy/hpa.yaml
```
> note: the `external.metricName` defined on the HPA must match the `metadata.name` on the ExternalMetric HPA, in this case `queuemessages`.
> note: the `external.metricName` defined on the HPA must match the `metadata.name` on the ExternalMetric declaration, in this case `queuemessages`
After a few seconds, validate that the HPA is configured. If the `targets` shows `<unknown>` wait longer and try again.
Expand Down

0 comments on commit 6cdf0ac

Please sign in to comment.