Skip to content

Write ADR for load-balancers #227

Open
SovereignCloudStack/standards
#169

Description

@garloff

As a KaaS operator, I want to understand exactly what standards my load-balancer must fulfill by reading the relevant ADR.

TODO: Write ADR (according to SCS-0001 standard) to document the requirements tested for in #212.

Definition of Ready:

  • User Story is small enough to be finished within one sprint
  • User Story is clear and understood by the whole team
  • Acceptance criteria are defined
  • Acceptance criteria are clear and understood by the whole team

Definition of Done:

  • All acceptance criteria are met
  • Changes have been reviewed
  • CI tests have run successfully
  • Documentation has been updated
  • Release Notes have been updated

Activity

  1. added
    Container
    SCS is standardized
    standards
    on Dec 5, 2022
  2. moved this from Backlog to Refined Stories in Sovereign Cloud Stackon Dec 5, 2022
  3. assigned and unassigned on Dec 5, 2022
  4. moved this from Refined Stories to Doing in Sovereign Cloud Stackon Dec 5, 2022
  5. garloff commented on Dec 7, 2022

    @garloff
    MemberAuthor

    nginx-ingress expects that the single nginx instance on a multi-node cluster works despite externalTrafficPolicy: Local (which means kube-proxy is NOT forwarding connections) on a multi-node cluster. Apparently, nginx-ingress expects the LoadBalancer to detect which nodes are up and load-balance only to the ones where nginx is listening.
    This is the most efficient way (by avoiding unneeded forwards), but one could question whether loadbalancers should always detect nodes being down. With the default setting of the OpenStack Cloud Controller Manager, loadbalancers do NOT fulfill this: They don't automatically get a health monitor. This is not unreasonable either -- health monitors can always be requested, though unfortunately, this is not standardized but can only be achieved by an OpenStack specific annotation. Which makes things non-portable :-(
    So we will have to default to health-monitors be enabled ...

  6. garloff commented on Dec 7, 2022

    @garloff
    MemberAuthor

    TODO:

    • Investigate why the default to NOT have health monitors was chosen.
    • Investigate whether opt-out (by specific annotation) is still possible
    • Compare to other CCMs and their defaults
  7. garloff commented on Dec 19, 2022

    @garloff
    MemberAuthor

    @garloff and @joshmue to look at OCCM in first week of Jan.

  8. garloff commented on Jan 16, 2023

    @garloff
    MemberAuthor

    Needs more discussion:

    • Making traffic flow work (with the help of the health monitor) may result in something half working for the user:
      • externalTrafficPolicy: Local results in working traffic
      • BUT the client IPs are not preserved!

    So: Investigate whether we can address the client IP thing:

    • proxy protocol (working for http/https like protocols at least)
    • generic approach using L3 loadbalancer (DSR like), maybe possible with ovn magic ...
  9. jschoone commented on Apr 14, 2023

    @jschoone

    Hi @joshmue. Are we still on track with this?

  10. joshmue commented on Apr 14, 2023

    @joshmue

    The ADR in SovereignCloudStack/standards#169 is pretty much complete. IIRC, the decision that is documented in this record did also match the consensus in a (team?) meeting.
    Hence, it just needs to be pushed forward according to the according process.

  11. moved this from Doing to Blocked / On hold in Sovereign Cloud Stackon Jun 27, 2023
  12. linked a pull request that will close this issueAdd draft for KaaS LB standard #169on Aug 25, 2023
  13. joshmue commented on Aug 28, 2024

    @joshmue

    Refs SovereignCloudStack/standards#648

    Will assign @cah-hbaum, please feel free to re-assign me, if I can/should do anything here.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ContainerSCS is standardizedstandards

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions