haproxy/backend/services¶
Service port definitions for HAProxy backend nodes
HAProxy Backend Services¶
This parameter defines which services are available on backend nodes and their corresponding ports. It is used during service discovery to create the HAProxy configuration.
Requirements¶
- Must be defined on backend nodes (haproxy/role = backend)
- Port numbers must be valid (1-65535)
- Service names should be descriptive and match frontend configurations
Usage¶
Define available services on a backend node:
For services that listen on multiple ports:
Example in a cluster configuration:
cluster/machines:
web-backend:
pipeline: universal-application-apache-web-server
names: ['web01.local.domain', 'web02.local.domain']
Params:
haproxy/role: backend
haproxy/backend/services:
http: 80
https: 443
Objects that Reference haproxy/backend/services¶
- profiles openshift-worker in Openshift v4.15.3 as part of Params (declared)
Objects used by haproxy/backend/services¶
Not used in current content packs