problem description
deploying spark on kubernetes requires at least 3 CPU. Using the kubernetes feature of docker will cause an error 1 Insufficient cpu, 1 Insufficient memory
.
the environmental background of the problems and what methods you have tried
The kubernetes of mac for docker cannot start the program; if you use minikube
, you can set the CPU of virtual box to 4 so that the program runs correctly.
what do you want to know
how does the kubernetes function of docker for mac set the number of CPU and memory?