Skip to content

Commit f2d85f1

Browse files
stackit-skeftl
andauthored
remove information about outdated LB configuration (#39)
Co-authored-by: Florian Thienel <[email protected]>
1 parent bc394ca commit f2d85f1

File tree

1 file changed

+4
-31
lines changed

1 file changed

+4
-31
lines changed

docs/load-balancer.md

Lines changed: 4 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3,45 +3,18 @@
33
## Table of Contents
44

55
1. [Overview](#overview)
6-
2. [Class Name Configuration](#class-name-configuration)
7-
3. [Limitations](#limitations)
8-
4. [Service Enablement](#service-enablement)
9-
5. [Configuration](#configuration)
6+
2. [Limitations](#limitations)
7+
3. [Service Enablement](#service-enablement)
8+
4. [Configuration](#configuration)
109
- [STACKIT Annotations](#stackit-annotations)
1110
- [Supported yawol Annotations](#supported-yawol-annotations)
1211
- [Unsupported yawol Annotations](#unsupported-yawol-annotations)
13-
6. [Node Labels](#node-labels)
12+
5. [Node Labels](#node-labels)
1413

1514
## Overview
1615

1716
The cloud controller manager provisions STACKIT load balancers for Kubernetes services of type load balancer.
1817

19-
In order to avoid collisions with other load balancer implementations, the following annotation needs to be set on the service.
20-
21-
```YAML
22-
annotations:
23-
yawol.stackit.cloud/className: stackit
24-
```
25-
26-
This annotation is immutable. It must not be changed on existing load balancers.
27-
The controller will always manage all services whose class name annotation is `stackit`.
28-
29-
> :warning: The CCM adds a finalizer to the service regardless of whether it has a matching class name annotation or not.
30-
31-
## Class Name Configuration
32-
33-
For load balancers with not `stackit` as class name (identified via the `yawol.stackit.cloud/className` annotation) the controller manages them in different ways.
34-
The controller modes are configured via `nonStackitClassNames` in the cloud-config.yaml:
35-
36-
- `ignore`: Return "implemented elsewhere" for all services whose class name
37-
annotation is not `stackit`.
38-
- `update`: Update load balancers whose class name annotation is not `stackit`.
39-
If the load balancer is not found, no error is returned.
40-
- `updateAndCreate` (default): The CCM treats every service the same, i.e.
41-
ignores the class name annotation.
42-
43-
If no `nonStackitClassNames` mode is set in the config file, the mode will automatically be set to `updateAndCreate`.
44-
4518
## Limitations
4619

4720
- `externalTrafficPolicy=local` is not supported.

0 commit comments

Comments
 (0)