Skip to content

Commit 8594517

Browse files
ixxeL2097Frederic Spiers
andauthored
feat(values): disable healthcheck crossAZ for proxy lb by default (#62)
Co-authored-by: Frederic Spiers <[email protected]>
1 parent f8ed52e commit 8594517

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

helm/ggbridge/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,16 @@ A Helm chart for installing ggbridge
7575
| podSecurityContext.enabled | bool | `true` | Enable Pod security Context in deployments |
7676
| proxy.affinity | object | `{}` | Affinity for pod assignment |
7777
| proxy.annotations | object | `{}` | Set proxy annotations |
78-
| proxy.config | object | `{"server":{"customDirectives":[],"proxyConnectTimeout":"30s","proxyTimeout":"1800s"},"upstream":{"backupMode":false,"downServers":[],"failTimeout":"120s","healthLoadBalancing":true,"maxFails":2}}` | Nginx configuration |
78+
| proxy.config | object | `{"server":{"customDirectives":[],"proxyConnectTimeout":"30s","proxyTimeout":"1800s"},"upstream":{"backupMode":false,"downServers":[],"failTimeout":"120s","healthLoadBalancing":false,"maxFails":2}}` | Nginx configuration |
7979
| proxy.config.server | object | `{"customDirectives":[],"proxyConnectTimeout":"30s","proxyTimeout":"1800s"}` | Nginx server section configuration |
8080
| proxy.config.server.customDirectives | list | `[]` | custom parameters to add to the 'server' section of nginx.conf you need to choose which section it applies to can be "health", "socks", "web" or "tls" |
8181
| proxy.config.server.proxyConnectTimeout | string | `"30s"` | Nginx connection proxy timeout |
8282
| proxy.config.server.proxyTimeout | string | `"1800s"` | Nginx global proxy timeout |
83-
| proxy.config.upstream | object | `{"backupMode":false,"downServers":[],"failTimeout":"120s","healthLoadBalancing":true,"maxFails":2}` | Nginx upstream configuration |
83+
| proxy.config.upstream | object | `{"backupMode":false,"downServers":[],"failTimeout":"120s","healthLoadBalancing":false,"maxFails":2}` | Nginx upstream configuration |
8484
| proxy.config.upstream.backupMode | bool | `false` | Enable backup mode, will switch from round robin to backup setting for upstream servers |
8585
| proxy.config.upstream.downServers | list | `[]` | List of server proxy to disable in nginx conf For example [1,2] will mark proxy-1 and proxy-2 as down |
8686
| proxy.config.upstream.failTimeout | string | `"120s"` | Time during which the specified number of unsuccessful attempts must happen to mark the server as unavailable |
87-
| proxy.config.upstream.healthLoadBalancing | bool | `true` | Enable load balancing for health upstream (when false, only use the server with weight 100) |
87+
| proxy.config.upstream.healthLoadBalancing | bool | `false` | Enable load balancing for health upstream (when true will set load-balancing upstream for healthcheck) |
8888
| proxy.config.upstream.maxFails | int | `2` | Maximum number of unsuccessful attempts to communicate with the server |
8989
| proxy.labels | object | `{}` | Set proxy labels |
9090
| proxy.logLevel | string | `"notice"` | Set nginx sidecar container and proxy pod log level (default: notice) |

helm/ggbridge/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,8 @@ proxy:
422422
maxFails: 2
423423
# -- Time during which the specified number of unsuccessful attempts must happen to mark the server as unavailable
424424
failTimeout: 120s
425-
# -- Enable load balancing for health upstream (when false, only use the server with weight 100)
426-
healthLoadBalancing: true
425+
# -- Enable load balancing for health upstream (when true will set load-balancing upstream for healthcheck)
426+
healthLoadBalancing: false
427427
# -- List of server proxy to disable in nginx conf
428428
# For example [1,2] will mark proxy-1 and proxy-2 as down
429429
downServers: []

0 commit comments

Comments
 (0)