Docs: update configuration and deployment

This commit is contained in:
Jonas Kaninda
2024-11-10 17:47:05 +01:00
parent 00702e138b
commit b2ae3cf0a5
6 changed files with 184 additions and 139 deletions

View File

@@ -10,6 +10,20 @@ nav_order: 5
Goma comes with routes healthcheck, that can be enabled and disabled.
```yaml
version: 1.0
gateway:
routes:
- path: /cart
name: example route
rewrite: /
methods: []
healthCheck:
path: "/health/live"
interval: 30 # in Seconds
timeout: 10 # in Seconds
healthyStatuses: [200,404] # Healthy statuses
```
- Goma Gateway healthcheck: `/health/live`
- Routes health check: `health/routes`