Skip to content

Commit 66cf065

Browse files
authored
replace cpu-percent with cpu
Flag --cpu-percent has been deprecated, Use --cpu with percentage or resource quantity format (e.g., '70%' for utilization or '500m' for milliCPU).
1 parent b329793 commit 66cf065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ on the algorithm.
100100
Create the HorizontalPodAutoscaler:
101101

102102
```shell
103-
kubectl autoscale deployment php-apache --cpu-percent=50 --min=1 --max=10
103+
kubectl autoscale deployment php-apache --cpu=50% --min=1 --max=10
104104
```
105105

106106
```

0 commit comments

Comments
 (0)