How does the kubernetes function of docker for mac declare the number of cpus?

  docker, question

Problem description

Deploy spark on kubernetes, requires at least 3 CPUs. Using docker’s kubernetes function will report an error1 Insufficient cpu, 1 Insufficient memory.

The environmental background of the problem and what methods have you tried?

Kubernetes of macfor doc failed to start the program; If usedminikube, you can set the CPU of virtual box to 4, so that the program can run correctly.

What do you want to know

How does the kubernetes function of docker for mac set the number of cpus and memory?

Docker’s kubernetes is a limited function and cannot be configured more.