Skip to content

Commit fa955f1

Browse files
author
maxime.hubert
committed
feat(mks): document new loadbalancer flavor annotation for standard plan
1 parent bf02dd8 commit fa955f1

File tree

1 file changed

+34
-14
lines changed
  • pages/public_cloud/containers_orchestration/managed_kubernetes/expose_your_applications_using_a_load_balancer

1 file changed

+34
-14
lines changed

pages/public_cloud/containers_orchestration/managed_kubernetes/expose_your_applications_using_a_load_balancer/guide.en-gb.md

Lines changed: 34 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Expose your applications using OVHcloud Public Cloud Load Balancer
33
excerpt: "How to expose your applications hosted on Managed Kubernetes Service using the OVHcloud Public Cloud Load Balancer"
4-
updated: 2025-02-17
4+
updated: 2025-10-06
55
---
66

77
> [!warning]
@@ -27,9 +27,6 @@ To be able to deploy [Public Cloud Load Balancer](/links/public-cloud/load-balan
2727

2828
| Kubernetes versions |
2929
| ------------------- |
30-
| 1.26.4-3 >= |
31-
| 1.27.12-1 >= |
32-
| 1.28.8-1 >= |
3330
| 1.29.3-3 >= |
3431
| 1.30.2-1 >= |
3532

@@ -109,7 +106,10 @@ metadata:
109106
namespace: test-lb-ns
110107
annotations:
111108
loadbalancer.ovhcloud.com/class: octavia //not required for cluster running kubernetes versions >= 1.31
112-
loadbalancer.ovhcloud.com/flavor: small
109+
110+
# Use `openstack loadbalancer flavor list` to get the full list of available flavors.
111+
loadbalancer.ovhcloud.com/flavor: small # Name of a loadbalancer flavor, used in MKS Free ONLY.
112+
loadbalancer.openstack.org/flavor-id: xxx # UUID of a loadbalancer flavor, used in MKS Standard ONLY.
113113
spec:
114114
ports:
115115
- name: 80-80
@@ -155,7 +155,11 @@ metadata:
155155
namespace: test-lb-ns
156156
annotations:
157157
loadbalancer.ovhcloud.com/class: "octavia" //not required for cluster running kubernetes versions >= 1.31
158-
loadbalancer.ovhcloud.com/flavor: "medium" //optional, default = small
158+
159+
# Use `openstack loadbalancer flavor list` to get the full list of available flavors.
160+
# When not specified, the "small" flavor is used by default.
161+
loadbalancer.ovhcloud.com/flavor: medium # Name of a loadbalancer flavor, used in MKS Free ONLY.
162+
loadbalancer.openstack.org/flavor-id: yyy # UUID of a loadbalancer flavor, used in MKS Standard ONLY.
159163
labels:
160164
app: test-octavia
161165
spec:
@@ -213,7 +217,11 @@ metadata:
213217
namespace: test-lb-ns
214218
annotations:
215219
loadbalancer.ovhcloud.com/class: "octavia" //not required for cluster running kubernetes versions >= 1.31
216-
loadbalancer.ovhcloud.com/flavor: "medium" //optional, default = small
220+
221+
# Use `openstack loadbalancer flavor list` to get the full list of available flavors.
222+
# When not specified, the "small" flavor is used by default.
223+
loadbalancer.ovhcloud.com/flavor: medium # Name of a loadbalancer flavor, used in MKS Free ONLY.
224+
loadbalancer.openstack.org/flavor-id: yyy # UUID of a loadbalancer flavor, used in MKS Standard ONLY.
217225
labels:
218226
app: test-octavia
219227
spec:
@@ -241,10 +249,17 @@ spec:
241249

242250
Authorized values: 'octavia' = Public Cloud Load Balancer, 'iolb' = Loadbalancer for Managed Kubernetes Service (will be deprecated in future versions). If not specified, the default class of the MKS Kubernetes versions you are using will be applied, please refer to the [versions matrix section](#kube-versions).
243251

244-
- `loadbalancer.ovhcloud.com/flavor`
252+
- `loadbalancer.ovhcloud.com/flavor` (MKS Free only)
245253

246254
Not a standard OpenStack Octavia annotation (specific to OVHcloud). The size used for creating the loadbalancer. Specifications can be found on the [Load Balancer specifications](/links/public-cloud/load-balancer) page. Authorized values => `small`,`medium`,`large`, `xl`. Default is 'small'.
247255

256+
- `loadbalancer.openstack.org/flavor-id` (MKS Standard only)
257+
258+
The UUID of the flavor used to create the loadbalancer. To get the flavors UUIDs, see the following guides:
259+
- [Prepare the environment to use the OpenStack API](/pages/public_cloud/public_cloud_cross_functional/prepare_the_environment_for_using_the_openstack_api),
260+
- [Load the OpenStack environment variables](/pages/public_cloud/public_cloud_cross_functional/loading_openstack_environment_variables).
261+
- Run `openstack loadbalancer flavor list` to get the list of flavors and their UUIDs.
262+
248263
- `service.beta.kubernetes.io/openstack-internal-load-balancer`
249264

250265
If 'true', the loadbalancer will only have an IP on the private network (no Floating IP is associated with the Load Balancer). Default is 'false'.
@@ -320,7 +335,7 @@ Authorized values: 'octavia' = Public Cloud Load Balancer, 'iolb' = Loadbalancer
320335

321336
- `loadbalancer.openstack.org/flavor-id`
322337

323-
The id of the flavor that is used for creating the loadbalancer. Not useful as we provide `loadbalancer.ovhcloud.com/flavor`.
338+
The id of the flavor that is used for creating the loadbalancer: only in use for MKS Standard. MKS Free uses `loadbalancer.ovhcloud.com/flavor`.
324339

325340
- `loadbalancer.openstack.org/load-balancer-id`
326341

@@ -361,10 +376,12 @@ Authorized values: 'octavia' = Public Cloud Load Balancer, 'iolb' = Loadbalancer
361376

362377
### Features
363378

364-
#### Resize your LoadBalancer
379+
#### Resize your LoadBalancer (MKS standard plan)
380+
381+
#### Resize your LoadBalancer (MKS free plan)
365382

366-
There is no proper way to "hot-resize" your loadbalancer yet (work in progress). The best alternative to change the flavor of your load balancer is to recreate a new Kubernetes Service that will use the same public IP as an existing one.
367-
You can find the complete HowTo and examples on our public Github repository: <https://github.com/ovh/public-cloud-examples>
383+
There is no proper way to "hot-resize" your loadbalancer yet ([work in progress](https://github.com/ovh/public-cloud-roadmap/issues/418)). The best alternative to change the flavor of your load balancer is to recreate a new Kubernetes Service that will use the same public IP as an existing one.
384+
You can find the complete HowTo and examples on our public Github repository: <https://github.com/ovh/public-cloud-examples/tree/main/containers-orchestration/managed-kubernetes/use-public-cloud-load-balancer>.
368385

369386
- First, make sure that the existing service is using the `loadbalancer.openstack.org/keep-floatingip` annotation. If it's not using it, the public Floating IP will be released (it can be added after the service creation).
370387
- Get the public IP of your existing service:
@@ -383,8 +400,11 @@ test-lb-todel LoadBalancer 10.3.107.18 141.94.215.240 80:30172/TCP
383400
metadata:
384401
name: my-medium-lb
385402
annotations:
386-
loadbalancer.ovhcloud.com/class: "octavia" //not required for clusters running kubernetes versions >= 1.31
387-
loadbalancer.ovhcloud.com/flavor: "medium"
403+
loadbalancer.ovhcloud.com/class: "octavia" # not required for clusters running kubernetes versions >= 1.31
404+
405+
# Use `openstack loadbalancer flavor list` to get the full list of available flavors.
406+
loadbalancer.ovhcloud.com/flavor: medium # Name of a loadbalancer flavor, used in MKS Free ONLY.
407+
loadbalancer.openstack.org/flavor-id: yyy # UUID of a loadbalancer flavor, used in MKS Standard ONLY.
388408
labels:
389409
app: demo-upgrade
390410
spec:

0 commit comments

Comments
 (0)