Skip to content

Commit 8dd55b3

Browse files
authored
Merge pull request kubernetes#2489 from ProbstDJakob/ovn-lb-provider-docs
[occm] update docs in order to reflect the current state of the ovn lb-provider support
2 parents ee06cc1 + ee055da commit 8dd55b3

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

docs/openstack-cloud-controller-manager/expose-applications-using-loadbalancer-type-service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ Request Body:
180180

181181
Defines whether to create health monitor for the load balancer pool, if not specified, use `create-monitor` config. The health monitor can be created or deleted dynamically. A health monitor is required for services with `externalTrafficPolicy: Local`.
182182

183-
Not supported when `lb-provider=ovn` is configured in openstack-cloud-controller-manager.
183+
NOTE: Health monitors for the `ovn` provider are only supported on OpenStack Wallaby and later.
184184

185185
- `loadbalancer.openstack.org/health-monitor-delay`
186186

docs/openstack-cloud-controller-manager/using-openstack-cloud-controller-manager.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,17 @@ Although the openstack-cloud-controller-manager was initially implemented with N
201201
Optional. Tags for the external network subnet used to create floating IP for the load balancer VIP. Can be overridden by the Service annotation `loadbalancer.openstack.org/floating-subnet-tags`. If multiple subnets match the first one with still available IPs is used.
202202
203203
* `lb-method`
204-
The load balancing algorithm used to create the load balancer pool. The value can be `ROUND_ROBIN`, `LEAST_CONNECTIONS`, or `SOURCE_IP`. Default: `ROUND_ROBIN`
204+
The load balancing algorithm used to create the load balancer pool.
205+
206+
If `lb-provider` is set to "amphora" or "octavia" the value can be one of:
207+
* `ROUND_ROBIN` (default)
208+
* `LEAST_CONNECTIONS`
209+
* `SOURCE_IP`
210+
211+
If `lb-provider` is set to "ovn" the value must be set to `SOURCE_IP_PORT`.
205212
206213
* `lb-provider`
207-
Optional. Used to specify the provider of the load balancer, e.g. "amphora" or "octavia". Only "amphora" or "octavia" provider are officially tested, other provider will cause a warning log.
214+
Optional. Used to specify the provider of the load balancer, e.g. "amphora" (default), "octavia" (deprecated alias for "amphora"), or "ovn". Only the "amphora", "octavia", and "ovn" providers are officially tested, other providers will cause a warning log.
208215
209216
* `lb-version`
210217
Optional. If specified, only "v2" is supported.
@@ -224,6 +231,8 @@ Although the openstack-cloud-controller-manager was initially implemented with N
224231
* `create-monitor`
225232
Indicates whether or not to create a health monitor for the service load balancer. A health monitor required for services that declare `externalTrafficPolicy: Local`. Default: false
226233
234+
NOTE: Health monitors for the `ovn` provider are only supported on OpenStack Wallaby and later.
235+
227236
* `monitor-delay`
228237
The time, in seconds, between sending probes to members of the load balancer. Default: 5
229238
@@ -295,8 +304,6 @@ Although the openstack-cloud-controller-manager was initially implemented with N
295304
296305
NOTE:
297306
298-
* When using `ovn` provider service has limited scope - `create_monitor` is not supported and only supported `lb-method` is `SOURCE_IP`.
299-
300307
* environment variable `OCCM_WAIT_LB_ACTIVE_STEPS` is used to provide steps of waiting loadbalancer to be ready. Current default wait steps is 23 and setup the environment variable overrides default value. Refer to [Backoff.Steps](https://pkg.go.dev/k8s.io/apimachinery/pkg/util/wait#Backoff) for further information.
301308
302309
### Metadata

0 commit comments

Comments
 (0)