From dfc1624ee359b34913194e862645ab034bf91336 Mon Sep 17 00:00:00 2001 From: reneprive <136014370+reneprive@users.noreply.github.com> Date: Mon, 22 Dec 2025 12:40:00 +0100 Subject: [PATCH] remove depricated flag & update correct flag Flag --cpu-percent has been deprecated, Use --cpu with percentage or resource quantity format (e.g., '70%' for utilization or '500m' for milliCPU). --- .../run-application/horizontal-pod-autoscale-walkthrough.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough.md b/content/en/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough.md index 630bee97b420a..ed35daa438cd0 100644 --- a/content/en/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough.md +++ b/content/en/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough.md @@ -100,7 +100,7 @@ on the algorithm. Create the HorizontalPodAutoscaler: ```shell -kubectl autoscale deployment php-apache --cpu-percent=50 --min=1 --max=10 +kubectl autoscale deployment php-apache --cpu=50% --min=1 --max=10 ``` ```