Skip to content

Commit

Permalink
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ ARGS:
name=<generated> Resource name
forward-protocol Backend protocol. TCP or HTTP (tcp | http)
forward-port User sessions will be forwarded to this port of backend servers
forward-port-algorithm=roundrobin Load balancing algorithm (roundrobin | leastconn)
forward-port-algorithm=roundrobin Load balancing algorithm (roundrobin | leastconn | first)
sticky-sessions=none Enables cookie-based session persistence (none | cookie | table)
[sticky-sessions-cookie-name] Cookie name for for sticky sessions
[health-check.mysql-config.user]
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ ARGS:
[name]
[forward-protocol] (tcp | http)
[forward-port]
[forward-port-algorithm] (roundrobin | leastconn)
[forward-port-algorithm] (roundrobin | leastconn | first)
[sticky-sessions] (none | cookie | table)
[sticky-sessions-cookie-name]
[timeout-server]
4 changes: 2 additions & 2 deletions internal/namespaces/lb/v1/lb_cli.go
Original file line number Diff line number Diff line change
@@ -700,7 +700,7 @@ func lbBackendCreate() *core.Command {
Deprecated: false,
Positional: false,
Default: core.DefaultValueSetter("roundrobin"),
EnumValues: []string{"roundrobin", "leastconn"},
EnumValues: []string{"roundrobin", "leastconn", "first"},
},
{
Name: "sticky-sessions",
@@ -931,7 +931,7 @@ func lbBackendUpdate() *core.Command {
Required: false,
Deprecated: false,
Positional: false,
EnumValues: []string{"roundrobin", "leastconn"},
EnumValues: []string{"roundrobin", "leastconn", "first"},
},
{
Name: "sticky-sessions",

0 comments on commit 5ad7a4f

Please sign in to comment.