Skip to content

Commit af0f213

Browse files
authored
Merge pull request #245 from marklogic/release/2.0.0-rebase
Merge release-2.0.0 branch to develop
2 parents a5bec8e + 830466f commit af0f213

File tree

10 files changed

+866
-476
lines changed

10 files changed

+866
-476
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,14 @@ For non-production deployments, please see [MiniKube Setup Guide](https://docs.m
1414

1515
### Kubernetes Version
1616

17-
This Helm-chart currently support Kubernetes 1.23 or later.
18-
17+
This Helm chart supports Kubernetes 1.23 or later.
18+
19+
This Helm chart has been tested on EKS (Elastic Kubernetes Service on AWS) and AKS (Azure Kubernetes Service), nevertheless it is expected to work on GKE (Google Kubernetes Engine) and RedHat OpenShift.
20+
21+
### MarkLogic Version
22+
23+
This Helm chart supports MarkLogic starting release 10.0-10-2.
24+
1925
### Installing MarkLogic Helm Chart
2026

2127
This below example Helm Chart installation will create a single-node MarkLogic cluster with a "Default" group. A 20GB persistent volume, 2 vCPUs, and 4GB of RAM will be allocated for the pod.
@@ -109,6 +115,7 @@ Following table lists all the parameters supported by the latest MarkLogic Helm
109115
| `clusterDomain` | Domain for the Kubernetes cluster | `cluster.local` |
110116
| `allowLongHostnames` | Allow deployment with hostname over 64 characters | `false` |
111117
| `useLegacyHostnames` | Use the lagecy hostnames that is used before 1.1.0 version. | `false` |
118+
| `podAnnotations` | Pod Annotations | `{}` |
112119
| `group.name` | Group name for joining MarkLogic cluster | `Default` |
113120
| `group.enableXdqpSsl` | SSL encryption for XDQP | `true` |
114121
| `bootstrapHostName` | Host name of MarkLogic bootstrap host (to join a cluster) | `""` |
@@ -206,6 +213,9 @@ Following table lists all the parameters supported by the latest MarkLogic Helm
206213
| `haproxy.additionalAppServers` | List of additional HTTP Ports configuration for HAproxy | `[]` |
207214
| `haproxy.tcpports.enabled` | Parameter to enable TCP port routing on HAProxy | `false` |
208215
| `haproxy.tcpports` | TCP Ports and load balancing type configuration for HAproxy | `[]` |
216+
| `haproxy.timemout.client` | Timeout client measures inactivity during periods that we would expect the client to be speaking | `600s` |
217+
| `haproxy.timeout.connect` | Timeout connect configures the time that HAProxy will wait for a TCP connection to a backend server to be established | `600s` |
218+
| `haproxy.timeout.server` | Timeout server measures inactivity when we’d expect the backend server to be speaking | `600s` |
209219
| `haproxy.tls.enabled` | Parameter to enable TLS for HAProxy | `false` |
210220
| `haproxy.tls.secretName` | Name of the secret that stores the certificate | `""` |
211221
| `haproxy.tls.certFileName` | The name of the certificate file in the secret | `""` |

charts/charts/haproxy/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,13 @@ tcpports:
104104
# type: TCP
105105
# port: 5432
106106

107+
# Timeout configuration for HAProxy
108+
# See Ref: https://www.haproxy.com/blog/the-four-essential-sections-of-an-haproxy-configuration#timeout-connect-timeout-client-timeout-server
109+
timeout:
110+
client: 600s
111+
connect: 600s
112+
server: 600s
113+
107114
## Automatically Roll Deployments
108115
# ref: https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments
109116
checksumConfigMap:

charts/templates/configmap-haproxy.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ data:
2626
defaults
2727
log global
2828
option forwardfor
29-
timeout client 600s
30-
timeout connect 600s
31-
timeout server 600s
29+
timeout client {{ .Values.haproxy.timeout.client }}
30+
timeout connect {{ .Values.haproxy.timeout.connect }}
31+
timeout server {{ .Values.haproxy.timeout.server }}
3232
3333
resolvers dns
3434
# add nameserver from /etc/resolv.conf

0 commit comments

Comments
 (0)