Upgraded traefik to v1.4.4. Added traefik constraints configuration. Added EnableServiceHealthFilter configuration

This commit is contained in:
Raul Sanchez
2017-11-29 23:32:47 +01:00
parent 657a8c06c2
commit bfb180a2da
7 changed files with 427 additions and 2 deletions
+2 -1
View File
@@ -8,9 +8,10 @@
### Config:
- rancher_integration = "metadata" # Rancher integration method.
- rancher_healthcheck = false # Enable/Disable traefik rancher services healthcheck filter. Only valid for api and metadata integration.
- host_label = "traefik_lb=true" # Host label where to run traefik service.
- http_port = 8080 # Port exposed to get access to the published services.
- https_port = 8443 # Port exposed to get secured access to the published services.
- https_port = 8443 # Port exposed to get secured access to the published services.
- admin_port = 8000 # Port exposed to get admin access to the traefik service.
- https_enable = <false | true | only>
- false: Enable http enpoints and disable https ones.
@@ -46,6 +46,7 @@ services:
{{- end}}
{{- if ne .Values.rancher_integration "external"}}
- TRAEFIK_RANCHER_ENABLE=true
- TRAEFIK_RANCHER_HEALTHCHECK=${rancher_healthcheck}
- TRAEFIK_RANCHER_MODE=${rancher_integration}
{{- if eq .Values.rancher_integration "api"}}
- CATTLE_URL=${cattle_url}
+8
View File
@@ -19,6 +19,14 @@ catalog:
- metadata
- api
- external
- variable: "rancher_healthcheck"
description: |
Enable/disable rancher services healtcheck filter. If enable, just healthy services will be published.
Only valid for api and metadata integration.
label: "Rancher healthcheck filter:"
required: true
default: false
type: "boolean"
- variable: "host_label"
description: "Host label where to run traefik service."
label: "Host label:"