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

Elastic Stack 9.0 will drop the -ubi suffix #8479

Open
pebrc opened this issue Feb 21, 2025 · 3 comments
Open

Elastic Stack 9.0 will drop the -ubi suffix #8479

pebrc opened this issue Feb 21, 2025 · 3 comments
Assignees

Comments

@pebrc
Copy link
Collaborator

pebrc commented Feb 21, 2025

Starting with release 9.0 stack container images will no longer come with a -ubi suffix. Instead the default image will be UBI based and there will be wolfi variants with a dedicated suffix.

We need to:

  • adjust the defaulting to -ubi when the --ubi-only flag is set
  • test the upgrade path on OLM throrogly
  • revisit the usefulness of the --ubi-only for stack 9.0 (maybe at least log a warnign)

if viper.IsSet(operator.UBIOnlyFlag) {
err := fmt.Errorf("must not combine %s and %s flags", operator.UBIOnlyFlag, operator.ContainerSuffixFlag)
log.Error(err, "Illegal flag combination")
return err

useUBISuffix := containerSuffix == UBISuffix
// use an UBI suffix for maps server image or any image in UBI mode
if useUBISuffix || isOlderMapsServerImg(img, ver) {
suffix = getUBISuffix(ver)

@alpar-t
Copy link

alpar-t commented Feb 24, 2025

@pebrc While the default images are becoming UBI based, we are not planning on dropping the -ubi suffix, e.g. elasticsearch and elasticsearch-ubi will both be available and be the exact same image.

@pebrc
Copy link
Collaborator Author

pebrc commented Feb 26, 2025

Thanks @alpar-t I think what we need to decide then if we should move the new suffixless version when a customer is requesting UBI images with ECK 3.0 so that you can eventually stop producing the ones with the explicit -ubi suffix.

@kvalliyurnatt kvalliyurnatt self-assigned this Feb 26, 2025
@pebrc
Copy link
Collaborator Author

pebrc commented Feb 26, 2025

@kvalliyurnatt I see you assigned yourself. I think #8480 would be one approach that we could generalise a bit for all images (with exception for the ones that no longer supported in 9.0: enterprisesearch and journalbeat)

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

No branches or pull requests

3 participants