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

[occm] Ability to select lb-provider in annotations #2756

Open
MaximMonin opened this issue Jan 8, 2025 · 0 comments
Open

[occm] Ability to select lb-provider in annotations #2756

MaximMonin opened this issue Jan 8, 2025 · 0 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@MaximMonin
Copy link

MaximMonin commented Jan 8, 2025

Is this a BUG REPORT or FEATURE REQUEST?:

/kind feature

What happened:
At the moment, the lb-provider option is set via cloud config. And so it works for all registered services. At the moment, lb-provider ovn is almost functional, but when used in services with the externalTrafficPolicy: Local option, on some installations it has problems updating the traffic routing table, which can cause it to hang. But when the service is present on all worker nodes, this problem does not occur. So we would like to be able to use lb-provider ovn for some services, even if the default provider is amphora.

What you expected to happen:
I would like to add new annotation to service.

apiVersion: v1
kind: Service
metadata:
  annotations:
    loadbalancer.openstack.org/lb-provider: ovn
    loadbalancer.openstack.org/lb-method: SOURCE_IP_PORT
  name: nginxsvc
  labels:
    app: nginx
spec:
  type: LoadBalancer
  ports:
  - port: 80
    protocol: TCP
    name: http
  selector:
    app: nginx

How to reproduce it:
Anything else we need to know?:
Environment:

  • openstack-cloud-controller-manager(or other related binary) version: 1.30.1
  • OpenStack version: 2023.1
@k8s-ci-robot k8s-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants