okustera_loadbalancer_pool (Resource)
The okustera_loadbalancer_pool resource provisions and manages a backend pool of targets on an Octavia Load Balancer in Okustera.
Example Usage
HTTP Backend Pool with Round-Robin Routing
resource "okustera_loadbalancer_pool" "web_pool" {
name = "web-backend-pool"
loadbalancer_id = okustera_loadbalancer.ingress_lb.id
protocol = "HTTP"
lb_algorithm = "ROUND_ROBIN"
description = "Primary web tier backend pool"
}
Schema
Required
name(String) Human-readable name of the backend pool.protocol(String) Protocol used to communicate with backend pool members (HTTP,HTTPS,TCP,UDP).lb_algorithm(String) Balancing algorithm:ROUND_ROBIN,LEAST_CONNECTIONS, orSOURCE_IP.
Optional
loadbalancer_id(String) UUID of the load balancer to associate with the pool.listener_id(String) UUID of the listener to associate with the pool.description(String) Optional description of the pool.
Read-Only
id(String) Unique identifier UUID of the backend pool.members_count(Number) Total count of backend member targets currently attached to this pool.operating_status(String) Current operating status (ONLINE,DEGRADED,OFFLINE).provisioning_status(String) Current provisioning state (ACTIVE,PENDING_CREATE).
Import
Existing pools can be imported using their UUID:
terraform import okustera_loadbalancer_pool.web_pool <pool_uuid>