Skip to content

Commit

Permalink
Merge pull request #410 from appuio/fix/metrics-dns
Browse files Browse the repository at this point in the history
[HAProxy] Add check option to metrics backends
  • Loading branch information
anothertobi authored Apr 5, 2022
2 parents 0ed9de2 + d3c8d0e commit f21a5cc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ helm repo add appuio https://charts.appuio.ch
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/data-cube-curation-0.3.1/total)](https://github.com/appuio/charts/releases/tag/data-cube-curation-0.3.1) | [data-cube-curation](appuio/data-cube-curation/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/exoip-1.0.4/total)](https://github.com/appuio/charts/releases/tag/exoip-1.0.4) | [exoip](appuio/exoip/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/generic-0.1.2/total)](https://github.com/appuio/charts/releases/tag/generic-0.1.2) | [generic](appuio/generic/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/haproxy-1.7.5/total)](https://github.com/appuio/charts/releases/tag/haproxy-1.7.5) | [haproxy](appuio/haproxy/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/haproxy-1.7.6/total)](https://github.com/appuio/charts/releases/tag/haproxy-1.7.6) | [haproxy](appuio/haproxy/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/k8up-2.0.3/total)](https://github.com/appuio/charts/releases/tag/k8up-2.0.3) | [k8up](appuio/k8up/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/mariadb-galera-1.2.3/total)](https://github.com/appuio/charts/releases/tag/mariadb-galera-1.2.3) | [mariadb-galera](appuio/mariadb-galera/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/maxscale-1.1.2/total)](https://github.com/appuio/charts/releases/tag/maxscale-1.1.2) | [maxscale](appuio/maxscale/README.md) |
Expand Down
2 changes: 1 addition & 1 deletion appuio/haproxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 2.5.1
description: A Helm chart for HAProxy which can be customized by a config map.
name: haproxy
version: 1.7.5
version: 1.7.6
maintainers:
- name: APPUiO Team
email: [email protected]
2 changes: 1 addition & 1 deletion appuio/haproxy/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# haproxy

![Version: 1.7.5](https://img.shields.io/badge/Version-1.7.5-informational?style=flat-square) ![AppVersion: 2.5.1](https://img.shields.io/badge/AppVersion-2.5.1-informational?style=flat-square)
![Version: 1.7.6](https://img.shields.io/badge/Version-1.7.6-informational?style=flat-square) ![AppVersion: 2.5.1](https://img.shields.io/badge/AppVersion-2.5.1-informational?style=flat-square)

A Helm chart for HAProxy which can be customized by a config map.

Expand Down
6 changes: 3 additions & 3 deletions appuio/haproxy/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ frontend galeraMetrics
{{- range $i, $node := .Values.haproxy.galera.nodes }}
backend galera-node-{{$i}}
mode http
server node-{{$i}} {{ $node.address }}:9104
server node-{{$i}} {{ $node.address }}:9104 check
{{- end }}
{{- end }}
{{- end -}}
Expand All @@ -101,7 +101,7 @@ frontend galeraMetrics
{{ range $i, $e := until (.Values.haproxy.galerak8s.nodeCount |int) }}
backend galera-node-{{$i}}
mode http
server node-{{$i}} mariadb-{{$i}}.mariadb:9104
server node-{{$i}} mariadb-{{$i}}.mariadb:9104 check
{{- end }}
{{- end }}
{{- end -}}
Expand All @@ -122,7 +122,7 @@ frontend redisMetrics
{{ range $i, $e := until (.Values.haproxy.redisk8s.nodeCount |int) }}
backend redis-node-{{$i}}
mode http
server node-{{$i}} redis-node-{{$i}}.redis-headless:9121
server node-{{$i}} redis-node-{{$i}}.redis-headless:9121 check
{{- end }}
{{- end }}
{{- end -}}

0 comments on commit f21a5cc

Please sign in to comment.