docs: update config deployment
This commit is contained in:
@@ -20,8 +20,8 @@ gateway:
|
||||
methods: []
|
||||
healthCheck:
|
||||
path: "/health/live"
|
||||
interval: 30 # in Seconds
|
||||
timeout: 10 # in Seconds
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
healthyStatuses: [200,404] # Healthy statuses
|
||||
```
|
||||
|
||||
|
||||
@@ -8,7 +8,9 @@ nav_order: 4
|
||||
|
||||
# Load Balancing
|
||||
|
||||
Goma Gateway supports rund robim load blancing
|
||||
Goma Gateway supports round-robin algorithm load balancing.
|
||||
|
||||
It comes with an integrated load balancing backends healthcheck.
|
||||
|
||||
```yaml
|
||||
version: 1.0
|
||||
@@ -23,8 +25,8 @@ gateway:
|
||||
methods: []
|
||||
healthCheck:
|
||||
path: "/"
|
||||
interval: 0
|
||||
timeout: 0
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
healthyStatuses: [200,404]
|
||||
## destination: will be override by backends
|
||||
destination: ""
|
||||
|
||||
@@ -28,3 +28,7 @@ GOMA_LOG_LEVEL=trace
|
||||
### When using a configuration file
|
||||
|
||||
Edit the Goma settings and set `logLevel: trace`.
|
||||
|
||||
### Disable logging
|
||||
|
||||
To disable logs, you need to set `logLevel: off`, it will turn off logs
|
||||
Reference in New Issue
Block a user