Skip to content
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

Update the kernel-slim and full image recommendations #150

Closed
leochr opened this issue Dec 8, 2023 · 3 comments
Closed

Update the kernel-slim and full image recommendations #150

leochr opened this issue Dec 8, 2023 · 3 comments

Comments

@leochr
Copy link
Member

leochr commented Dec 8, 2023

The guide includes the following statements that could be interpreted as use 'full' for development and 'kernel-slim' in production, which isn't dev/prod parity.

"full images are recommended for development only because they significantly expand the image size with features that are not required by the application."

"This parent image with the full tag is recommended for development, but while deploying to production it is recommended to use a parent image with the kernel-slim tag. The kernel-slim tag provides a bare minimum Liberty runtime with the ability to add the features required by the application."

Open Liberty doc includes the following:
"Two different image types are available: kernel-slim or full. The full type provides a server with all Open Liberty features and packages installed.

The kernel-slim type provides just the bare minimum server, which you can customize by adding only the features that your application needs. This image type supports the best practice for production images because you end up with a more lightweight image that packages only what is essential for your application. "

We should change the wording and the placement of the text in the guide so that it's clear we recommend using kernel-slim, but don't mean use full for development and switch to kernel-slim in production

@leochr
Copy link
Member Author

leochr commented Mar 4, 2024

@gkwan-ibm just wanted to make sure this is on your radar to address. Thank you

@gkwan-ibm
Copy link
Member

  • most of Dockerfile in the guides are using kernel-slim
  • some guides are using full
  • 2 guides are deprecated and won't be updated
  • only one guide will be updated to kernel-slim soon.

@gkwan-ibm
Copy link
Member

close

  • all guides were updated except liberty-deep-dive, liberty-deep-dive-gradle, and spring-boot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants