Master Provisioning Kubernetes plugin might produce a memory leak in CloudBees CI on modern cloud platforms in versions 2.222.2.1 and 2.222.4.3

Issue

Memory leak suspect: Master Provisioning Kubernetes plugin could cause a known memory issue in version 2.222.2.1 and 2.222.4.3 with Kubernetes Master provisioning 2.4.8

Environment

Resolution

The plugin master-provisioning-kubernetes contains a Support Component to grab the Kubernetes logs. The version 2.4.8 found in this product loads all the logs in memory which could cause OutOfMemory errors and/or the Operations Center being killed by the oom-killer.

A workaround is to disable the automatic generation of support bundles by setting the system property ‘com.cloudbees.jenkins.support.SupportPlugin.AUTO_BUNDLE_PERIOD_HOURS’ to ‘0’ (-Dcom.cloudbees.jenkins.support.SupportPlugin.AUTO_BUNDLE_PERIOD_HOURS=0). The real solution is to upgrade the product to at least 2.235.1.2, which contains 2.5.2 of master-provisioning plugin.

Tested product/plugin versions

Have more questions?

0 Comments

Please sign in to leave a comment.