Skip to content

Add NodeBalancerConfig default values #685

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 3, 2022
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
18 changes: 16 additions & 2 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24284,6 +24284,7 @@ components:
type: integer
minimum: 1
maximum: 65535
default: 80
description: >
The port this Config is for. These values must be unique across configs
on a single NodeBalancer (you can't have two configs for port 80, for
Expand All @@ -24299,6 +24300,7 @@ components:
- http
- https
- tcp
default: http
description: >
The protocol this port is configured to serve.

Expand All @@ -24313,6 +24315,7 @@ components:
- roundrobin
- leastconn
- source
default: roundrobin
description: >
What algorithm this NodeBalancer should use for routing traffic to backends.
example: roundrobin
Expand All @@ -24323,6 +24326,7 @@ components:
- none
- table
- http_cookie
default: none
description: >
Controls how session stickiness is handled on this port.

Expand All @@ -24342,6 +24346,7 @@ components:
- connection
- http
- http_body
default: none
description: >
The type of check to perform against backends to ensure they are serving
requests. This is used to determine if backends are up or down.
Expand All @@ -24355,20 +24360,27 @@ components:
example: http_body
check_interval:
type: integer
description: >
description: |
How often, in seconds, to check that backends are up and serving requests.

Must be greater than `check_timeout`.
example: 90
default: 31
check_timeout:
type: integer
minimum: 1
maximum: 30
description: >
default: 30
description: |
How long, in seconds, to wait for a check attempt before considering it failed.

Must be less than `check_interval`.
example: 10
check_attempts:
type: integer
minimum: 1
maximum: 30
default: 3
description: >
How many times to attempt a check before considering a backend to be down.
example: 3
Expand All @@ -24388,6 +24400,7 @@ components:
example: it works
check_passive:
type: boolean
default: true
description: >
If true, any response from this backend with a `5xx` status code will be
enough for it to be considered unhealthy and taken out of rotation.
Expand Down Expand Up @@ -24419,6 +24432,7 @@ components:
enum:
- recommended
- legacy
default: recommended
description: >
What ciphers to use for SSL connections served by this NodeBalancer.

Expand Down