Skip to content

Commit a66f4b5

Browse files
authored
Merge pull request #158 from marklogic/release/1.0.2
Merge release/1.0.2 to develop
2 parents 2eaf1b3 + 26f9b9c commit a66f4b5

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ persistence:
7272
```
7373
5. Install the MarkLogic Helm Chart with the above custom settings. The rest of the settings will default to the values as listed below in the [Parameters](#parameters) section.
7474
```
75-
helm install my-release marklogic/marklogic --version=1.0.0 --values values.yaml --namespace=marklogic
75+
helm install my-release marklogic/marklogic --values values.yaml --namespace=marklogic
7676
```
7777
Once the installation is complete and the pod is in a running state, the MarkLogic admin UI can be accessed using the port-forwarding command as below:
7878
```
@@ -128,6 +128,7 @@ Following table lists all the parameters supported by the latest MarkLogic Helm
128128
| `license.key` | Set MarkLogic license key installed | `""` |
129129
| `license.licensee` | Set MarkLogic licensee information | `""` |
130130
| `affinity` | Affinity for MarkLogic pods assignment | `{}` |
131+
| `topologySpreadConstraints` | POD Topology Spread Constraints to spread Pods across cluster | `[]` |
131132
| `nodeSelector` | Node labels for MarkLogic pods assignment | `{}` |
132133
| `persistence.enabled` | Parameter to enable MarkLogic data persistence using Persistence Volume Claim (PVC). If set to false, EmptyDir will be used. | `true` |
133134
| `persistence.storageClass` | Storage class for MarkLogic data volume, leave empty to use the default storage class | `""` |

charts/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ keywords:
1717
sources:
1818
- https://github.com/marklogic/marklogic-kubernetes
1919
- https://www.marklogic.com/
20-
version: 1.0.0
20+
version: 1.0.1

charts/templates/statefulset.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ spec:
2525
{{- with .Values.affinity }}
2626
affinity: {{- toYaml . | nindent 8}}
2727
{{- end }}
28+
{{- with .Values.topologySpreadConstraints }}
29+
topologySpreadConstraints: {{- toYaml . | nindent 6}}
30+
{{- end }}
2831
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriod }}
2932
{{- if ne .Values.bootstrapHostName "" }}
3033
initContainers:

charts/values.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,16 @@ affinity:
9393
- marklogic
9494
topologyKey: kubernetes.io/hostname
9595

96+
## Configure POD Topology Spread Constraints to spread Pods across cluster
97+
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
98+
topologySpreadConstraints: []
99+
# - maxSkew: 1
100+
# topologyKey: topology.kubernetes.io/zone
101+
# whenUnsatisfiable: ScheduleAnyway
102+
# labelSelector:
103+
# matchLabels:
104+
# app.kubernetes.io/name: marklogic
105+
96106
## Configure NodeSelector property for scheduling pods to nodes
97107
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes/#create-a-pod-that-gets-scheduled-to-your-chosen-node
98108
nodeSelector: {}

0 commit comments

Comments
 (0)