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

Add preferred address type field to ListenerClass #885

Merged
merged 3 commits into from
Oct 16, 2024

Conversation

nightkr
Copy link
Member

@nightkr nightkr commented Oct 9, 2024

Description

See stackabletech/listener-operator#139. In short, it allows users to specify whether they want to prefer exposing IP addresses or hostnames.

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Author

Preview Give feedback

Reviewer

Preview Give feedback

Acceptance

Preview Give feedback

@nightkr
Copy link
Member Author

nightkr commented Oct 9, 2024

Implementation PR is up: stackabletech/listener-operator#233

sbernauer
sbernauer previously approved these changes Oct 9, 2024
Copy link
Member

@sbernauer sbernauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CRD change LGTM

Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.de>
Copy link
Member

@sbernauer sbernauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CRD change LGTM

@nightkr
Copy link
Member Author

nightkr commented Oct 15, 2024

Voting comment

@lfrancke
Copy link
Member

Approved during planning meeting. Go ahead!

@lfrancke lfrancke enabled auto-merge October 16, 2024 07:57
@lfrancke lfrancke added this pull request to the merge queue Oct 16, 2024
Merged via the queue into main with commit d51e8a7 Oct 16, 2024
10 checks passed
@lfrancke lfrancke deleted the feature/listenerclass-preferred-address-type branch October 16, 2024 08:11
@lfrancke
Copy link
Member

So...the typical questions...
Do we have docs and if so could you link them? And as this is user visible I guess a release note snippet would be good?
But it's not breaking? Do users need to take action?

@nightkr
Copy link
Member Author

nightkr commented Oct 16, 2024

The docs are in the listener-operator PR (https://github.com/stackabletech/listener-operator/pull/233/files#diff-865c09909a15c5d0a5ec7ec8dc2e2458dcd8f8843c0405876210a9d96c7a6781).

But it's not breaking? Do users need to take action?

See #885 (comment), it changes the default for NodePort listeners from IP to DNS, which requires the nodes to have DNS-resolvable hostnames.

@lfrancke
Copy link
Member

Okay, thanks. So this should really go into the release notes then I guess. Could you please write a snippet?

@nightkr
Copy link
Member Author

nightkr commented Oct 21, 2024

Release notes snippet:

Listeners can now be configured to use either IP addresses or DNS hostnames.

BREAKING: All ListenerClasses now default to using DNS hostnames, previously NodePort ListenerClasses (such as external-unstable) would use IP addresses. Hence, all Nodes must now have resolvable hostnames, or the NodePort ListenerClasses must be configured to set .spec.preferredAddressType: IP.

@lfrancke lfrancke added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/24.11.0 release-note Denotes a PR that will be considered when it comes time to generate release notes.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants