Open haozhiyu opened 1 year ago
[ E22 ] Insufficient CPUs available in the pool. User provided
cpu-count
is 2, which is more than the configured CPU pool size. You can increase the CPU pool size by editing thecpu_count
value from '/etc/nitro_enclaves/allocator.yaml' and then enable the nitro-enclaves-allocator.service.
You can update the value of the "node_enclave_cpu_limit" field from the "settings" JSON file [1]. The current value of "node_enclave_cpu_limit" is 2, but it can be updated to 4, for example. This way, it will match the setup you would like for "cpu_count" [2].
Thank you.
[1] https://github.com/aws/aws-nitro-enclaves-with-k8s/blob/main/settings.json [2] https://github.com/aws/aws-nitro-enclaves-cli/blob/main/bootstrap/allocator.yaml
Should we modify this default value to 4 in this repo? Otherwise others will run into same problem I think
I have the same error here, even though i had set the cpu-count
to 4 at the beginning, it still complains about Insufficient CPUs available in the pool
[ E22 ] Insufficient CPUs available in the pool. User provided `cpu-count` is 2, which is more than the configured CPU pool size.
You can increase the CPU pool size by editing the `cpu_count` value from '/etc/nitro_enclaves/allocator.yaml' and then enable the nitro-enclaves-allocator.service.
[ E22 ] Insufficient CPUs available in the pool. User provided
cpu-count
is 2, which is more than the configured CPU pool size. You can increase the CPU pool size by editing thecpu_count
value from '/etc/nitro_enclaves/allocator.yaml' and then enable the nitro-enclaves-allocator.service.