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

docs(scalers): Update cpu and memory scaler docs for validating requests/limits from LimitRange #1296

Conversation

Bhargav-InfraCloud
Copy link
Contributor

Provide a description of what has been changed

Update for cpu & memory scalers for KEDA controller checking for default limits and requests in LimitRange, for Container type, in the same namespace, for validation when the container resources are not specified in the pod spec.

Also, the following is updated:
When using cpu or memory scalers, the KEDA controller checks whether requests or limits are specified for the container resources. The requests are specified in the docs, but the limits are missing. This change updates the cpu and memory scaler docs to mention the limits that are also validated.

Checklist

  • Commits are signed with Developer Certificate of Origin (DCO)

Relates to issue kedacore/keda#5348
Relates to PR kedacore/keda#5377

Update for cpu & memory scalers for KEDA controller checking for
default limits and requests in LimitRange, for Container type, in the
same namespace, for validation when the container resources are not
specified in the pod spec.

Signed-off-by: Bhargav Ravuri <bhargav.ravuri@infracloud.io>
When using `cpu` or `memory` scalers, the KEDA controller checks
whether `requests` or `limits` are specified for the container
resources. The `requests` are specified in the docs, but the `limits`
are missing.

This change updates the `cpu` and `memory` scaler docs to mention the
`limits` that are also validated.

Signed-off-by: Bhargav Ravuri <bhargav.ravuri@infracloud.io>
@Bhargav-InfraCloud Bhargav-InfraCloud requested a review from a team as a code owner January 16, 2024 20:16
Copy link

netlify bot commented Jan 16, 2024

Deploy Preview for keda ready!

Name Link
🔨 Latest commit 03279a3
🔍 Latest deploy log https://app.netlify.com/sites/keda/deploys/65a94feb3da60e000814b037
😎 Deploy Preview https://deploy-preview-1296--keda.netlify.app/docs/2.13/scalers/cpu
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

Thank you for your contribution! 🙏 We will review your PR as soon as possible.

While you are waiting, make sure to:

  • Add your contribution to all applicable KEDA versions
  • GitHub checks are passing
  • Is the DCO check failing? Here is how you can fix DCO issues

Learn more about:

Co-authored-by: Jan Wozniak <wozniak.jan@gmail.com>
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
@zroubalik zroubalik merged commit 68608bd into kedacore:main Jan 18, 2024
8 checks passed
@Bhargav-InfraCloud
Copy link
Contributor Author

Thanks @zroubalik :-)

@wozniakjan wozniakjan mentioned this pull request Jan 19, 2024
1 task
@Bhargav-InfraCloud Bhargav-InfraCloud deleted the br_update_cpu_and_memory_scaler_docs_for_picking_limits_from_limitrange branch March 11, 2024 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants