Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide detailed tutorial / documentation on HPAv2 #483

Closed
alexellis opened this issue Jul 31, 2019 · 1 comment · Fixed by openfaas/docs#164
Closed

Provide detailed tutorial / documentation on HPAv2 #483

alexellis opened this issue Jul 31, 2019 · 1 comment · Fixed by openfaas/docs#164

Comments

@alexellis
Copy link
Member

alexellis commented Jul 31, 2019

Description

We should provide detailed tutorial / documentation on HPAv2 when deploying OpenFaaS to Kubernetes using faas-netes. This would include any caveats or work-in-progress around scale to/from-zero.

Please respond here with an outline of the tutorial / guide and then send a PR to https://github.com/openfaas/docs/ under the heading you feel is best suited. Instructions should be tested and repeatable.

Context

HPAv2 may provide a suitable alternative for some use-cases.

Whilst it has been used before, we have not documented it thoroughly for new users to Kubernetes and this would lower the barrier significantly.

Ref: openfaas/faas#1271

@alexellis
Copy link
Member Author

alexellis commented Jul 31, 2019

For HPAv2 to work, it's compulsory to install the "metrics server":

https://github.com/kubernetes-incubator/metrics-server

Note that the metrics server is not supported on all cloud platforms, several like DigitalOcean currently need an insecure TLS option to be overridden to operate.

@stefanprodan has a tutorial about HPA with Prometheus custom metrics, I would think some of the content is useful for whoever makes this new tutorial, but chunked up to a much higher level of detail.

https://github.com/stefanprodan/k8s-prom-hpa

alexellis added a commit to openfaas/docs that referenced this issue Aug 10, 2019
Fixes: openfaas/faas-netes#483

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
alexellis added a commit to openfaas/docs that referenced this issue Aug 11, 2019
Fixes: openfaas/faas-netes#483

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant