Minor text adjustments
This commit is contained in:
parent
0ab73621d4
commit
0052cc320a
3 changed files with 11 additions and 6 deletions
|
|
@ -2,15 +2,19 @@
|
||||||
|
|
||||||
## Setup Docker EasyHAProxy
|
## Setup Docker EasyHAProxy
|
||||||
|
|
||||||
This method involves using a standalone Docker installation to discover containers and configure HAProxy.
|
This method involves using a standalone Docker installation to discover containers
|
||||||
|
and configure HAProxy.
|
||||||
|
|
||||||
EasyHAProxy inspects Docker containers and retrieves labels to configure HAProxy. Once it identifies a container with at least the label 'easyhaproxy.http.host,' it configures HAProxy to redirect traffic to that container. To accomplish this, EasyHAProxy may need to attach the same network to its container.
|
EasyHAProxy inspects Docker containers and retrieves labels to configure HAProxy.
|
||||||
|
Once it identifies a container with at least the label 'easyhaproxy.http.host,'
|
||||||
|
it configures HAProxy to redirect traffic to that container.
|
||||||
|
To accomplish this, EasyHAProxy may need to attach the same network to its container.
|
||||||
|
|
||||||
It's recommended to create a network external to EasyHAProxy.
|
It's recommended to create a network external to EasyHAProxy, although it's not mandatory.
|
||||||
|
|
||||||
Limitations:
|
Limitations:
|
||||||
- You cannot mix Docker containers with Swarm containers.
|
- You cannot mix Docker containers with Swarm containers.
|
||||||
- This method does not work with containers that use the '--network=host' option.
|
- This method does not work with containers that use the '--network=host' option. (see [limitations](limitations.md))
|
||||||
|
|
||||||
e.g.:
|
e.g.:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,8 @@ EasyHAProxy immediately sets up HAProxy and begins serving traffic.
|
||||||
For Kubernetes installations, there are three available installation modes:
|
For Kubernetes installations, there are three available installation modes:
|
||||||
- DaemonSet: This mode exposes ports 80, 443, and 1936.
|
- DaemonSet: This mode exposes ports 80, 443, and 1936.
|
||||||
- NodePort: Ports 31080, 31443, and 31936 are exposed.
|
- NodePort: Ports 31080, 31443, and 31936 are exposed.
|
||||||
- ClusterIP: In this mode, no ports are exposed externally, and HAProxy is accessible only within the cluster.
|
- ClusterIP: In this mode, no ports are exposed externally, and HAProxy is accessible only
|
||||||
|
within the cluster.
|
||||||
|
|
||||||
To install EasyHAProxy in your Kubernetes cluster, follow these steps:
|
To install EasyHAProxy in your Kubernetes cluster, follow these steps:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ It's recommended to create a network external to EasyHAProxy.
|
||||||
|
|
||||||
Limitations:
|
Limitations:
|
||||||
- You cannot mix Docker containers with Swarm containers.
|
- You cannot mix Docker containers with Swarm containers.
|
||||||
- This method does not work with containers that use the '--network=host' option."
|
- This method does not work with containers that use the '--network=host' option. (see [limitations](limitations.md))
|
||||||
|
|
||||||
e.g.:
|
e.g.:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue