You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -47,23 +45,34 @@ behaviour of the haproxy server daemon:
47
45
-`global_options` to configure the `global` section in `haproxy.cfg`
48
46
-`defaults_options` to configure the `defaults` section in `haproxy.cfg`
49
47
50
-
Configuring haproxy daemon listener
51
-
-----------------------------------
48
+
Configuring haproxy daemon listener (frontend)
49
+
----------------------------------------------
50
+
51
+
One `haproxy::frontend` defined resource should be defined for each HAProxy
52
+
loadbalanced set of backend servers. The title of the `haproxy::frontend`
53
+
resource is the key to which balancer members will be proxied to. The
54
+
`ipaddress` field should be the public ip address which the loadbalancer will
55
+
be contacted on. The `ports` attribute can accept an array or comma-separated
56
+
list of ports which should be proxied to the `haproxy::backend` nodes.
52
57
53
-
One `haproxy::listen` defined resource should be defined for each HAProxy loadbalanced set of backend servers. The title of the `haproxy::listen` resource is the key to which balancer members will be proxied to. The `ipaddress` field should be the public ip address which the loadbalancer will be contacted on. The `ports` attribute can accept an array or comma-separated list of ports which should be proxied to the `haproxy::balancermemeber` nodes.
58
+
Configuring haproxy loadbalanced member nodes (backend)
The `haproxy::backend` resource should be defined for every backend service
62
+
that is serving loadbalanced traffic. The `listening_service` attribute will
63
+
associate it with `haproxy::frontend` directives on the haproxy node.
64
+
`ipaddresses` and `ports` will be assigned to the member to be contacted on. If
65
+
an array of `ipaddresses` and `server_names` are provided then they will be
66
+
added to the config in lock-step.
57
67
58
-
The `haproxy::balacemember` defined resource should be exported from each node
59
-
which is serving loadbalanced traffic. the `listening_service` attribute will
60
-
associate it with `haproxy::listen` directives on the haproxy node.
61
-
`ipaddresses` and `ports` will be assigned to the member to be contacted on. If an array of `ipaddresses` and `server_names` are provided then they will be added to the config in lock-step.
68
+
If you're not using storeconfigs, then `listening_service` is useless - just
0 commit comments