Closed duchnguyen closed 6 years ago
Since no CPU requests are made, I don't know what's going on.
Hi Pires,
Since no CPU requests are made, I don't know what's going on.
Can you please tell more detail about this? How can I fix it? I don't change anything related to resources.limits.cpu configuration.
Thanks, Duc
Limits is not the problem here, since it guarantees that your pod will not consume more than 1000ms of cpu per second. But we don't define Requests, so I don't know why Kubernetes complains there's not enough CPU.
For more info, please read https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/.
Hi,
I checked-out the code to my local and ran below commands in order
-> couldn't launch the ES cluster because of insufficient CPU as below
Note that my Kubernetes Cluster has 3 nodes (machine type for each node : n1-standard-1 (1 vCPU, 3.75 GB memory).
The issue is the same when I change
Thanks, Duc