Skip to content

Conversation

@Amine-LG
Copy link
Contributor

Corrected the HPA YAML (added missing apiVersion) and updated the CLI example to avoid the deprecated --cpu-percent flag, ensuring the docs work as intended.

The `kubectl autoscale rs` example used the deprecated --cpu-percent flag. 
Updated to use --cpu with percentage format.
Added apiVersion: apps/v1 to scaleTargetRef to fix

"The HorizontalPodAutoscaler "frontend-scaler" is invalid: spec.scaleTargetRef.apiVersion: Invalid value: "": apiVersion must specify API group"
@k8s-ci-robot k8s-ci-robot added the language/en Issues or PRs related to English language label Sep 26, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign tengqm for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Sep 26, 2025
@netlify
Copy link

netlify bot commented Sep 26, 2025

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit 50cde34
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-io-main-staging/deploys/68d6ccdd053a1e0008b98987
😎 Deploy Preview https://deploy-preview-52537--kubernetes-io-main-staging.netlify.app
📱 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 project configuration.

Copy link
Member

@Arhell Arhell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@windsonsea
Copy link
Member

Should we squash those two commits into a single one?

@Amine-LG
Copy link
Contributor Author

Should we squash those two commits into a single one?

Sure, sounds good, feel free to squash on merge. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. language/en Issues or PRs related to English language size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants