Appearance
Server pools
Server pools hold the upstream servers that applications send traffic to. All pool writes need a global operator or admin role.
The CLI reads the current version and sends it as base_version. A concurrent change returns 409. Writes support -m WHY, -dry-run and -json. A dry run prints the proposed diff without storing a version. Use the global connection flags described under the conventions. Each write is audited.
The same operations have forms under Traffic → Server pools, including the server table, rename and merge and removal previews, and CA upload. Application → Server pool and the New application wizard's Servers step choose a pool or create one inline. Inline creation is a separate configuration version; attaching it to the application is the next previewed write.
waap pools list
Lists pool names, servers (address, weight, state), referencing applications and the active version.
sh
waap pools list [-json]JSON uses version and pools for the list. Scoped readers see pools used by their applications, and only the visible application references.
waap pools get
Shows a pool's values and defaults, its configured keys, its servers and CA metadata. The JSON output includes field help and a settings document.
sh
waap pools get -pool NAME [-json]Both pools list and pools get include health, the worst server state reported across nodes. Use waap pools health for per-node detail.
The get command reads /v1/pools/NAME/settings, an alias that also supports a pool named health. /v1/pools/health is reserved for runtime observations.
waap pools health
Reads cached health for every server and reporting node. It takes no writes or extra flags. Viewer access is enough, and scoped viewers see only pools used by their applications.
sh
waap pools health
waap pools health -jsonText columns: node, pool, server address, state, reason, requests, errors and connect failures. The pool list and detail pages and the application Server pool page show these per-node observations, with stale and partial flags. The UI polls every 5 seconds. Each node's text footer gives the observation time, stale and truncated flags, and any error.
API: GET /v1/pools/health. The JSON is {version, nodes: [{node, observed_at, servers: [{pool, address, state, reason, counters: {requests, errors, connect_failures}}], truncated, stale, error?}]}.
States: healthy, unhealthy, draining, disabled, unchecked. No configured check means unchecked, even if Envoy would accept traffic. Reasons distinguish failed health checks from outlier ejection, pending checks and unavailable observations.
Local observations refresh every 5 seconds, separately from Envoy's check schedule. Counters reset on Envoy restart or host recreation. DNS entries aggregate resolved hosts.
The peer view arrives over HA heartbeats and is capped at 4,096 entries. truncated: true means the view is incomplete. A missing or old peer report never proves health: read stale, error and the observation time. An older peer has no health summary until it is upgraded. Server health does not drive HA elections.
waap pools fields
Lists the pool keys, defaults and limits.
sh
waap pools fields| Key | Limits and default |
|---|---|
balancing | round_robin, least_request or random. |
connect_timeout | Default 5s, 1ms to 1m. |
health_check.path | Empty removes the check. |
health_check.host | Optional hostname (no wildcard). Empty uses the documented Host fallback. |
health_check.interval | Default 5s, 1s to 5m. |
health_check.timeout | Default 2s. Positive and shorter than the interval. |
health_check.healthy_after | Default 2, range 1 to 10. |
health_check.unhealthy_after | Default 3, range 1 to 10. |
tls.enabled | Default false. false removes TLS settings and the CA. |
tls.verify | Default true. |
tls.server_name | Server name for verification. |
Empty values remove explicit settings. CA uploads use the pools ca commands below.
waap pools add
Creates a pool. FILE is a YAML or JSON array of server records.
sh
waap pools add -pool NAME -f FILE [-m WHY] [-dry-run] KEY=VALUE...waap pools set
Changes a pool. set -f replaces all servers. Omitting -f keeps them. At least one field or server list is required.
sh
waap pools set -pool NAME [-f FILE] [-m WHY] [-dry-run] KEY=VALUE...A server record has these keys:
address: host:portweight(optional, 1 to 100, default 1)state(active,drainingordisabled, defaultactive)
Unknown keys are refused. At least one server must not be disabled. Limits: 256 servers per pool and 1,024 pools. Names follow the same lowercase, digit and dash rules as applications, at most 63 characters.
Example server file:
yaml
# servers.yaml
- {address: "10.0.0.5:8080", weight: 1, state: active}
- {address: "10.0.0.6:8080", weight: 3, state: draining}sh
waap pools add -pool shop -f servers.yaml balancing=least_request health_check.path=/healthz health_check.host=shop.test
waap apps add -app shop hostnames=shop.test listeners=web server_pool=shop
waap pools set -pool shop -f servers.yaml -m "drain second server"waap pools remove
Removes an unused pool. A referenced pool returns 409 with its application names. Reassign those applications first:
sh
waap apps set -app APP server_pool=OTHERsh
waap pools remove -pool NAME [-m WHY] [-dry-run]waap pools rename
Renames the pool and updates every application reference in one version. An existing name is refused. Uploaded CA material remains available.
sh
waap pools rename -pool NAME -to NAME [-m WHY] [-dry-run]waap pools merge
Moves all source references to the destination and removes the source pools in one version. The destination keeps its servers and settings. Source names must be unique and must not include the destination. Preview first.
sh
waap pools merge -into NAME -from NAME,NAME [-m WHY] [-dry-run]sh
waap pools merge -into shared -from shop,api -dry-run
waap pools merge -into shared -from shop,api -m "share servers"waap pools ca set
Uploads a PEM CA bundle (at most 8 MiB from the CLI), stored with the version. The upload enables TLS. Set tls.server_name before the upload when verifying servers given as IP addresses.
sh
waap pools ca set -pool NAME -f FILE [-m WHY] [-dry-run]waap pools ca remove
Restores system-root trust and keeps TLS enabled. pools get shows the CA metadata.
sh
waap pools ca remove -pool NAME [-m WHY] [-dry-run]API equivalents
GETandPOST /v1/poolsGET,PUTandDELETE /v1/pools/{name}GET /v1/pools/{name}/settings(settings-read alias)POST /v1/pools/{name}/renamePOST /v1/pools/mergePUT /v1/pools/{name}/ca
Create uses {name, servers, set, base_version, comment, dry_run}. Update uses {servers?, set, base_version, comment, dry_run}. Rename uses name, merge uses into and from[], and CA uses ca (empty removes it). All include base_version, an optional comment and dry_run. Delete takes those three as query parameters. Details and response schemas are in /v1/openapi.yaml.