-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image size for production use #357
Comments
Thanks @faandg - this is a great topic, and having a visualization of your data really helps. The UBI 8 Standard (OS) and AdoptOpenJDK 8 (Java) layers are as expected. There is a small footprint OS that we have used in the past (UBI 8 min), which last I checked reduced the image by about 120 MB - but, it came with the price that not all of the tools needed for proper production serviceability were there, and you had to use Can you drill down into your I am also curious about your application being 90 MB - is that accurate? |
Hi @arthurdm, you are correct in assuming the output folder contains mostly class cache: Yes, we use Concerning the application - it is the first of 60 applications we are moving from WebSphere ND to Liberty on OCP and it is not quite split into microservices yet :)
We found the |
Hey @faandg - sorry for the delay. For UBI 7 (which we were using at the time), the minimal image didn't even have things like If we were to support a UBI 8 min image, what Java layer would you be interested in? I am thinking about AdoptOpenJDK 11 + OpenJ9. |
No problem @arthurdm. Most of our large enterprise customers have not been using JDK11 yet, some only partially migrated/tested or only for new development projects. |
let's consider this one Leo - for both OL and WL. |
Is there any news about this? |
@LDL-GH Adding ubi-min based images is in our roadmap. We completed the initial investigation and planning to start the work soon. |
Hi,
We are using 20.0.0.7-kernel-java8-openj9-ubi to build container images.
Using the image means adding an application, installing features and adding some configuration.
Our production containers are around ~850MB in size which is quite large for an image.
Using dive we looked at the breakdown of such an image:
We were wondering if any of these components can be stripped of unnecessary parts?
Doing this ourselves would probably mean forfeiting support?
Best regards.
The text was updated successfully, but these errors were encountered: