Inconsistency in "Kubernetes Container Lifecycle" documentation after Spring Boot 3.4.0 upgrade #43830
Labels
for: team-meeting
An issue we'd like to discuss as a team to make progress
status: waiting-for-triage
An issue we've not yet triaged
Or, maybe, not exactly inconsistency but now it's a bit misleading...
In the Kubernetes Container Lifecycle there is a suggestion to use preStop handler like this:
command: ["sh", "-c", "sleep 10"]
Problem is that by default Spring Boot paketo images from now on use
paketobuildpacks/builder-jammy-java-tiny
image, which does not have any shell.So, either a new recipe should be suggested or a word of warning should say that for default spring boot images that won't work anymore.
As a suggestion - maybe include "sleep" command into the image, so something like this would work?
The text was updated successfully, but these errors were encountered: