Google Cloud Kubernetes with 3 Micro Instances (Free tier) - Not useable AT ALL?

3/14/2020

I'm using google cloud with the free tier and the free credits, and I wanted to try out kubernetes.

I create node pool of 3 f1-micro instances (only f1-micro instances are eligible for free tier). It seems each one should end up with 240mb of memory.

However, I tried to create a simple deployment with a pod requesting 100Mi of memory, and I'm getting an Insufficient Memory errors.

Does that mean google cloud Kubernetes isn't really usable with the free tier, hence it's not free at all? Or am I missing something here?

-- Hodor
google-cloud-platform
kubernetes

1 Answer

3/14/2020

For each of the nodes run kubectl describe nodename which will show lot of details about the node and look for Allocatable and Allocated resources. You may notice that almost all the memory is used, and f1-micro is limited to an average of 0.2 CPU which has been exceeded just by the k8s system pods.

You can try editing the deployment of system pods such as CoreDNS and reduce the requests of the pods

-- Arghya Sadhu
Source: StackOverflow