-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to configure cpu: "x" #1451
Comments
you're not going to get more CPU by configuring kind, the CPU detected comes from your host :-) I'm going to take a guess that you might be using docker desktop on mac / windows, in which case you need to configure it in the docker settings. https://kind.sigs.k8s.io/docs/user/quick-start/#settings-for-docker-desktop as for configuring limits this is #877 |
note that #877 is not going to solve your insufficient cpu issue, for that you need the host to have sufficient cpu. |
Thanks for info |
Hello there, I am a newbie and I may ask a stupid question:
When I look at the node, it gives this:
so in theory, there is more than enough resources to go. However, when I try to deploy the cassandra deployment, the first Pod keeps in a status 'Pending' beccause of a lack of resources. And indeed, the Node resources look like this:
The node does not get actually access to the available resources: it stays limited at 10% of a CPU and 50MB memory. So, reading the exchange above and having read #887, I understand that I need to actually configure Docker on my host machine in order for Docker to allow the containers simulating the Kind nodes to grab more resources. Do I understand it right ? |
You'd have to share the rest of the pod and node details to know the allocatable amount and pod requirements. |
(also lots of our users are new to most of these things! No worries 🙃) |
Docker settings do need changing on Mac or windows where the docker desktop app maintains a VM to run docker in, that VM becomes the kind host and has limited resources. |
Here is the
In parallel, the Cassandra service is defined:
and the Statefulset does not start because no Pod is created:
so I guess if this is not a CPU/memory allocation issue, I will need find other causes. I guess I need to figure out how to extract the logs for the Statefulset... @BenTheElder : many thanks for the help anyway :-) [EDIT]: it actually looks like an issue with the Pod binding to the PVC... No link with resource allocation. |
for PVCs you'll want to be on kind 0.7+, ideally the latest release. if you |
I'm running on Kind 0.8.1, and I thought that using the default "standard" storage class (rancher.io/localpath) would enable the cassandra statefulset to get PVC bound to the local storage... but for some reason (hwich I don't understand) it does not work:
and
so I will have to drille further until I understand. 😞 [EDIT]: I think that I found the issue. The default
|
I have an Istio error: 1 Insufficient cpu.
Can you configure more cpu?
I am looking for something like:
The text was updated successfully, but these errors were encountered: