You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`throttle`|`0`-`20` (`0` to disable) |`0`| Client Connection Throttle, which limits the number of subsequent new connections per second from the same client IP |
22
-
|`default-protocol`|`tcp`, `http`, `https`|`tcp`| This annotation is used to specify the default protocol for Linode NodeBalancer |
22
+
|`default-protocol`|`tcp`, `udp`, `http`, `https`|`tcp`| This annotation is used to specify the default protocol for Linode NodeBalancer |
23
23
|`default-proxy-protocol`|`none`, `v1`, `v2`|`none`| Specifies whether to use a version of Proxy Protocol on the underlying NodeBalancer |
24
+
|`default-algorithm`|`roundrobin`, `leastconn`, `source`, `ring_hash`|`roundrobin`| This annotation is used to specify the default alogrithm for Linode NodeBalancer |
25
+
|`default-stickiness`|`none`, `session`, `table`, `http_cookie`, `source_ip`|`none`| This annotation is used to specify the default stickiness for Linode NodeBalancer |
24
26
|`port-*`| json object || Specifies port specific NodeBalancer configuration. See [Port Configuration](#port-specific-configuration)|
25
-
|`check-type`|`none`, `connection`, `http`, `http_body`|| The type of health check to perform against back-ends. See [Health Checks](loadbalancer.md#health-checks)|
27
+
|`check-type`|`none`, `connection`, `http`, `http_body`|`none` for UDP, else `connection`| The type of health check to perform against back-ends. See [Health Checks](loadbalancer.md#health-checks)|
26
28
|`check-path`| string || The URL path to check on each back-end during health checks |
27
29
|`check-body`| string || Text which must be present in the response body to pass the health check |
28
-
|`check-interval`| int || Duration, in seconds, to wait between health checks |
29
-
|`check-timeout`| int (1-30) || Duration, in seconds, to wait for a health check to succeed |
30
-
|`check-attempts`| int (1-30) || Number of health check failures necessary to remove a back-end |
30
+
|`check-interval`| int |`5`| Duration, in seconds, to wait between health checks |
31
+
|`check-timeout`| int (1-30) |`3`| Duration, in seconds, to wait for a health check to succeed |
32
+
|`check-attempts`| int (1-30) |`2`| Number of health check failures necessary to remove a back-end |
31
33
|`check-passive`| bool |`false`| When `true`, `5xx` status codes will cause the health check to fail |
34
+
|`udp-check-port`| int |`80`| Specifies health check port for UDP nodebalancer |
32
35
|`preserve`| bool |`false`| When `true`, deleting a `LoadBalancer` service does not delete the underlying NodeBalancer |
33
36
|`nodebalancer-id`| int || The ID of the NodeBalancer to front the service |
34
37
|`hostname-only-ingress`| bool |`false`| When `true`, the LoadBalancerStatus will only contain the Hostname |
@@ -49,16 +52,22 @@ The `port-*` annotation allows per-port configuration, encoded in JSON. For deta
Copy file name to clipboardExpand all lines: docs/examples/README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ This section provides working examples of common CCM configurations. Each exampl
7
7
1.**[Basic Services](basic.md)**
8
8
- HTTP LoadBalancer
9
9
- HTTPS LoadBalancer with TLS termination
10
+
- UDP LoadBalancer
10
11
11
12
2.**[Advanced Configuration](advanced.md)**
12
13
- Custom Health Checks
@@ -15,6 +16,8 @@ This section provides working examples of common CCM configurations. Each exampl
15
16
- Shared IP Load-Balancing
16
17
- Custom Node Selection
17
18
19
+
Note: To test UDP based NBs, one can use [test-server](https://github.com/rahulait/test-server) repo to run server using UDP protocol and then use the client commands in repo's readme to connect to the server.
20
+
18
21
For testing these examples, see the [test script](https://github.com/linode/linode-cloud-controller-manager/blob/master/examples/test.sh).
0 commit comments