Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Using Scaleway Load Balancer annotations
description: This page explains how to use Scaleway Load Balancer annotations
tags: kubernetes load-balancer load-balancer-annotations annotations
dates:
validation: 2025-04-01
validation: 2025-09-17
posted: 2021-08-12
---

Expand All @@ -25,6 +25,10 @@ You should **always** use annotations as described below to configure your clust

The following documentation shows you how to use annotations to fine tune your Load Balancer's configuration.

<Message type="tip">
For a complete list of all annotations available to use with Scaleway Load Balancers, refer directly to the [Scaleway Cloud Controller Manager documentation](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/loadbalancer-annotations.md) on GitHub.
</Message>

## Adding annotations when creating your Load Balancer

Add annotations to the `metadata` section of your LoadBalancer Service's yaml manifest as shown below. In this example we include two annotations, but you can include as many as you need.
Expand Down Expand Up @@ -71,5 +75,3 @@ kubectl patch svc myloadbalancer --type merge --patch-file annotations-patch.yam
```

When you examine your Load Balancer's backend configuration and health check information in the Scaleway console, you will see that the balancing method (aka forward port algorithm) and health check timeout of its backend reflect the values set in the patched annotations.

For a complete list of all annotations available to use with Scaleway Load Balancers, refer directly to the [Scaleway Cloud Controller Manager documentation](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/loadbalancer-annotations.md) on GitHub.