timeweb_create_balancer
Create a load balancer to distribute traffic across servers. Configure algorithm, port, SSL, health checks, and sticky sessions for reliable routing.
Instructions
Create a new load balancer
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| algo | No | Load balancing algorithm (default: roundrobin) | |
| fall | No | Number of failures before marking as down | |
| name | Yes | Load balancer name | |
| port | No | Main port (default: 80) | |
| rise | No | Number of successes before marking as up | |
| inter | No | Health check interval in milliseconds | |
| format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | |
| is_ssl | No | Enable SSL | |
| timeout | No | Connection timeout in milliseconds | |
| is_sticky | No | Enable sticky sessions | |
| preset_id | Yes | Preset ID for the balancer configuration | |
| is_keepalive | No | Enable keepalive | |
| is_use_proxy | No | Use proxy protocol |