This replication controller does not have any containers with a CPU request set. Autoscaling will not work without a CPU request
Issue
- pod autoscaling with following syntax:
oc autoscale dc/<my-deployment> --min 1 --max 3 --cpu-percent=80
- Below error is seen :
This replication controller does not have any containers with a CPU request set. Autoscaling will not work without a CPU request.
Environment
- Openshift Container Platform
- 3.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.