-
-
Notifications
You must be signed in to change notification settings - Fork 16
feat!: Add new ListenerClass.stickyNodePorts
field
#1105
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
base: main
Are you sure you want to change the base?
Conversation
What (k8s resources changes) does it result in? Some changes to generated Services or just the generated Listener? |
Actually the |
Please vote on this comment |
/// However, this only works on setups with long-living nodes. If your nodes are rotated on | ||
/// a regular basis, the Pods previously running on a removed node will be stuck in Pending | ||
/// until you delete the PVC with the stickiness. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: Could we somehow detect this and automatically remove the stickiness? Or is that something we don't want?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally we have auto-detection in listener-op, which detects what ListenerClasses it should create, based on detecting GKE/AKS/IONOS etc. You might recall this from the CRD maintainer discussions.
But that's a follow-up
Co-authored-by: Techassi <[email protected]>
I'm just now wondering if Stickyness is the correct naming. I haven't had time to dig deep, and this is in voting now, so I feel a bit rushed. Is this actual "stickyness" which is typically used to mean directing traffic for the same session to the same instance. This seems more like it's about I feel like the description lacks context and instead links a bunch of things. Are you able to update the description with the missing context? I left a related comment on the PR about the field name and avoiding "sticky"/"stickiness": https://github.com/stackabletech/listener-operator/pull/340/files#r2418860493 |
Good question, I'm no native speaker. The Pod "sticks" to one single node. The Pod is "pinned" to a particular node. Both work for me, I let the native speakers decide 😅 (a.) sounds a bit more natural to me) |
The parent issue stackabletech/issues#770 should hopefully contain all the motivation and details on making the stickiness/pinning configurable. I would prefer to keep one well-maintained issue instead of cluttering things on issues, decisions and PRs. Pls feel free to ask if there are any missing things. |
Description
Part of stackabletech/issues#770
Implementation is in stackabletech/listener-operator#340
Definition of Done Checklist
Author
Reviewer
Acceptance