canonical / microk8s

MicroK8s is a small, fast, single-package Kubernetes for datacenters and the edge.
https://microk8s.io
Apache License 2.0
8.51k stars 772 forks source link

microk8s Allocated Memory Limit Increase #4665

Open sa-ritesh opened 2 months ago

sa-ritesh commented 2 months ago

Summary

On running sudo microk8s kubectl describe node . It shows my Capacity and Allocatable memory is around 298376389Mi but below Allocated have Memory Limit of only 170Mi.

Whenever I run jest test cases my node crashes, but on another server who has high allocated resource limit same test cases works fine.

How to increase the Allocated resource Limit, I have been searching on net for past two weeks and no luck.

image

loop in - @ktsakalozos

sa-ritesh commented 2 months ago

I also installed microk8s on fresh server I think these are default limits, again same limits were reflected on describing a node.

sa-ritesh commented 2 months ago

Any lead would be highly Appreciated.

sa-ritesh commented 2 months ago

image Can this be a issue for node not able to perform tasks, as previously these tests were able run in this microk8s node, but now they dont run, node crashes..