Closed justnoise closed 4 years ago
That is 0.9GB of memory and comes from the script generating instance data: https://github.com/elotl/kip/blob/master/scripts/create_instance_data/create_gce_instance_data.py#L33
https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#n1_custom_machine_types says "For N1 machine types, select between 0.9 GB and 6.5 GB per vCPU, inclusive", but apparently an additional requirement is that it still needs to be a multiple of 0.25GB.
Looks like the instanceSelector creates invalid custom instances in GCE. When running a pod in GCE with the following resource requests/limits:
We get the following error:
I've confirmed this with the following test case in
TestGCEResourcesToInstanceType
:This issue is a problem since one of the daemonSets in GKE creates a pod with these resource limits.