#5 Adjust the container setting to help with usage overflow
Merged by tdecacqu. Opened by tdecacqu.
software-factory/ tdecacqu/k1s limit  into  master

Download 5.patch

This change tries to prevent issue when the host is overloaded.

Pull-Request has been merged by tdecacqu

Could we have that memory value as a service parameter ?
Could it be an idea to have the capability to limit the amount of containers that k1s get up and running at the same time ?

Yes, perhaps using a K1S_POD_MEMORY_LIMIT environment variable would be the easiest.
I wary adding any dynamic logic to the service since it can be hard to predict what will be the memory usage, of lets say, 5 tox jobs started at the same time.

Metadata