kintoproj / kinto-core

API server to manage resources on Kubernetes.
https://www.kintohub.com
Apache License 2.0
5 stars 0 forks source link

Build with less memory #17

Closed nandiheath closed 3 years ago

nandiheath commented 3 years ago

Is your feature request related to a problem? Please describe. I have created a kubernetes cluster with 2 nodes, each with 2vCPU + 2GB memory. the cluster is able to debug, and I can access the dashboard. However when I try to build a service, it got hanged at the PENDING state forever. After investigation, the workflow pods cannot be started and remains at unscheduled state. It remains the same after I added another 2GB node to the cluster, but got resolved after I add a new 4GB node to the node-pool.

Suspect that the build workflow request more than 2GB of memory.

Describe the solution you'd like able to build with less memory, especially with smaller node type. Would be nice if the memory required for the build workflow is configurable.

bakayolo commented 3 years ago

Oups -> https://github.com/kintoproj/kinto-builder/blob/main/kinto-build/internal/build/argo/templates.go#L131-L135

Would be nice if the memory required for the build workflow is configurable.

fully agreed