Skip to content

Commit ee82ae1

Browse files
author
Sumanth Ravipati
committed
Revert "CLD-866: Support for topologySpreadConstraints in Helm Charts (#151)"
1 parent a17cfb2 commit ee82ae1

File tree

3 files changed

+0
-14
lines changed

3 files changed

+0
-14
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ Following table lists all the parameters supported by the latest MarkLogic Helm
115115
| `license.key` | Set MarkLogic license key installed | `""` |
116116
| `license.licensee` | Set MarkLogic licensee information | `""` |
117117
| `affinity` | Affinity for MarkLogic pods assignment | `{}` |
118-
| `topologySpreadConstraints` | POD Topology Spread Constraints to spread Pods across cluster | `{}` |
119118
| `nodeSelector` | Node labels for MarkLogic pods assignment | `{}` |
120119
| `persistence.enabled` | Parameter to enable MarkLogic data persistence using Persistence Volume Claim (PVC). If set to false, EmptyDir will be used. | `true` |
121120
| `persistence.storageClass` | Storage class for MarkLogic data volume, leave empty to use the default storage class | `""` |

charts/templates/statefulset.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ spec:
2222
{{- with .Values.affinity }}
2323
affinity: {{- toYaml . | nindent 8}}
2424
{{- end }}
25-
{{- with .Values.topologySpreadConstraints }}
26-
topologySpreadConstraints: {{- toYaml . | nindent 6}}
27-
{{- end }}
2825
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriod }}
2926
{{- if ne .Values.bootstrapHostName "" }}
3027
initContainers:

charts/values.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -93,16 +93,6 @@ 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-
10696
## Configure NodeSelector property for scheduling pods to nodes
10797
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes/#create-a-pod-that-gets-scheduled-to-your-chosen-node
10898
nodeSelector: {}

0 commit comments

Comments
 (0)