Skip to content

Commit fcdfa14

Browse files
authored
Merge pull request #685 from bbiggerr/nodebalancer-config-defaults
Add NodeBalancerConfig default values
2 parents c905580 + 01182c6 commit fcdfa14

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

openapi.yaml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24298,6 +24298,7 @@ components:
2429824298
type: integer
2429924299
minimum: 1
2430024300
maximum: 65535
24301+
default: 80
2430124302
description: >
2430224303
The port this Config is for. These values must be unique across configs
2430324304
on a single NodeBalancer (you can't have two configs for port 80, for
@@ -24313,6 +24314,7 @@ components:
2431324314
- http
2431424315
- https
2431524316
- tcp
24317+
default: http
2431624318
description: >
2431724319
The protocol this port is configured to serve.
2431824320

@@ -24327,6 +24329,7 @@ components:
2432724329
- roundrobin
2432824330
- leastconn
2432924331
- source
24332+
default: roundrobin
2433024333
description: >
2433124334
What algorithm this NodeBalancer should use for routing traffic to backends.
2433224335
example: roundrobin
@@ -24337,6 +24340,7 @@ components:
2433724340
- none
2433824341
- table
2433924342
- http_cookie
24343+
default: none
2434024344
description: >
2434124345
Controls how session stickiness is handled on this port.
2434224346

@@ -24356,6 +24360,7 @@ components:
2435624360
- connection
2435724361
- http
2435824362
- http_body
24363+
default: none
2435924364
description: >
2436024365
The type of check to perform against backends to ensure they are serving
2436124366
requests. This is used to determine if backends are up or down.
@@ -24369,20 +24374,27 @@ components:
2436924374
example: http_body
2437024375
check_interval:
2437124376
type: integer
24372-
description: >
24377+
description: |
2437324378
How often, in seconds, to check that backends are up and serving requests.
24379+
24380+
Must be greater than `check_timeout`.
2437424381
example: 90
24382+
default: 31
2437524383
check_timeout:
2437624384
type: integer
2437724385
minimum: 1
2437824386
maximum: 30
24379-
description: >
24387+
default: 30
24388+
description: |
2438024389
How long, in seconds, to wait for a check attempt before considering it failed.
24390+
24391+
Must be less than `check_interval`.
2438124392
example: 10
2438224393
check_attempts:
2438324394
type: integer
2438424395
minimum: 1
2438524396
maximum: 30
24397+
default: 3
2438624398
description: >
2438724399
How many times to attempt a check before considering a backend to be down.
2438824400
example: 3
@@ -24402,6 +24414,7 @@ components:
2440224414
example: it works
2440324415
check_passive:
2440424416
type: boolean
24417+
default: true
2440524418
description: >
2440624419
If true, any response from this backend with a `5xx` status code will be
2440724420
enough for it to be considered unhealthy and taken out of rotation.
@@ -24433,6 +24446,7 @@ components:
2443324446
enum:
2443424447
- recommended
2443524448
- legacy
24449+
default: recommended
2443624450
description: >
2443724451
What ciphers to use for SSL connections served by this NodeBalancer.
2443824452

0 commit comments

Comments
 (0)