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
- CloudBees CI (CloudBees Core) on modern cloud platforms - Operations Center
- CloudBees CI (CloudBees Core) on modern cloud platforms - Operations Center
- Kubernetes Master provisioning
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.
0 Comments