1) Basic principles, available controls and approach (memory requests & limits, k8s QoS, JVM -Xmx and similar options, -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap, -XX:MaxRAMFraction, JAVA|MAVEN|GRADLE|*_OPTIONS) 2) Recommended settings for builds - example: for Gradle builds, include advice around daemon, options.fork, parallel compile processes, setting compile process maximum heap, test parallel processes, setting test process maximum heap. 3) Documentation about Jenkins slave: - Existence of/how to tune the jnlp jvm - How to customise the created pod in a Jenkinsfile - Need for tuning of job steps (e.g. gradle) 4) Possible blog post?
Also sizing Java to ‘request’ and having limit > request by a small margin possibly best -- reduce penalty of overallocating by small amount and improve resilience
https://github.com/openshift/openshift-docs/pull/6981 This has merged and the updated Origin pages can already be seen at: https://docs.openshift.org/latest/using_images/other_images/jenkins.html https://docs.openshift.org/latest/using_images/other_images/jenkins_slaves.html https://docs.openshift.org/latest/dev_guide/application_memory_sizing.html
Yes, these will automatically go into the OCP 3.9 docs as well as dedicated when it upgrades to 3.9.
This is super stale. Closing.