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

NLB Annotations aren't correct #816

Open
pbecotte opened this issue Dec 21, 2024 · 0 comments
Open

NLB Annotations aren't correct #816

pbecotte opened this issue Dec 21, 2024 · 0 comments

Comments

@pbecotte
Copy link

This is the example from the docs-

service.beta.kubernetes.io/aws-load-balancer-attributes: |
  proxy_protocol.v2.enabled=true
  access_logs.s3.enabled=true
  access_logs.s3.bucket=my-bucket
  access_logs.s3.prefix=my-prefix
  load_balancing.cross_zone.enabled=true

This doesn't work at all- after all, the previous line says this annotation accepts a comma-separated list of key-value pairs for various load balancer attributes.

I tried this

      service.beta.kubernetes.io/aws-load-balancer-attributes: >-
        load_balancing.cross_zone.enabled=true,
        proxy_protocol.v2.enabled=true

which works a little better - it doesn't complain about the cross_zone entry now, but-

  • Get an error: Load balancer attribute key 'proxy_protocol.v2.enabled' is not recognized (which makes sense, its an attribute on the target group)
  • The other one isn't an error, but also doesn't actually change the setting on the load balancer.

Would be happy to fix the docs, but have no idea if/where the upstream project for the auto-mode controller is to even guess at the correct settings.

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

No branches or pull requests

1 participant