stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Imesh Gunaratne <>
Subject [Dev] Kubernetes Memory Allocation Issue Fixed
Date Wed, 09 Sep 2015 12:04:15 GMT
Hi Devs,

We recently found an issue in $subject. The problem was that Memory was
defined in mega bytes in the cartridge definition and it was converted to
bytes internally and sent to Kubernetes. This conversion was done using an
Integer variable and it was reaching its maximum allowed value.

Now I have changed this to be able to specify Memory and CPU with their
Units in the cartridge definition properties section:

"property": [
{ "name": "KUBERNETES_CONTAINER_CPU", "value": "500m" }
{ "name": "KUBERNETES_CONTAINER_MEMORY", "value": "4096Mi" }


The fix is now available stratos-4.1.x branch with the following commit



Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

View raw message