64 lines
1.3 KiB
Markdown
64 lines
1.3 KiB
Markdown
# EasyHAProxy
|
|
|
|
EasyHAProxy is a simple and easy way to automate the creation of HAProxy configuration file based on Docker containers.
|
|
|
|
The Helm package makes it easy to deploy EasyHAProxy on Kubernetes.
|
|
|
|
More information about [EasyHAProxy](https://github.com/byjg/docker-easy-haproxy/blob/master/README.md).
|
|
|
|
## Install
|
|
|
|
```bash
|
|
helm repo add byjg https://opensource.byjg.com/helm
|
|
helm repo update byjg
|
|
helm upgrade --install --create-namespace -n easyhaproxy easyhaproxy byjg/easyhaproxy
|
|
```
|
|
|
|
## Parameters
|
|
|
|
```yaml
|
|
image:
|
|
repository: byjg/easy-haproxy
|
|
pullPolicy: Always # IfNotPresent
|
|
# Overrides the image tag whose default is the chart appVersion.
|
|
tag: ""
|
|
|
|
imagePullSecrets: []
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
|
|
service:
|
|
create: false # If false, it will create a Daemonset with hostPort. The easiest.
|
|
type: ClusterIP # or NodePort
|
|
annotations: {}
|
|
|
|
binding:
|
|
ports:
|
|
http: 80
|
|
https: 443
|
|
stats: 1936
|
|
additionalPorts: []
|
|
|
|
easyhaproxy:
|
|
stats:
|
|
username: admin
|
|
password: password
|
|
refresh: "10"
|
|
customErrors: "true"
|
|
sslMode: loose
|
|
logLevel:
|
|
certbot: DEBUG
|
|
easyhaproxy: DEBUG
|
|
haproxy: DEBUG
|
|
certbot:
|
|
email: ""
|
|
|
|
# Make sure to create this
|
|
masterNode:
|
|
label: easyhaproxy/node
|
|
values:
|
|
- master
|
|
```
|
|
|
|
|
|
|