Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions charts/localstack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ The following table lists the configurable parameters of the Localstack chart an
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `tolerations` | Tolerations for pod assignment | `[]` |
| `affinity` | Affinity for pod assignment | `{}` |
| `topologySpreadConstraints` | Topology spread constraints for pod assignment | `[]` |
| `resources.limits` | The resources limits for Localstack containers | `{}` |
| `resources.requests` | The requested resources for Localstack containers | `{}` |
| `livenessProbe` | Liveness probe configuration for Localstack containers | Same with [Kubernetes defaults][k8s-probe] |
Expand Down
4 changes: 4 additions & 0 deletions charts/localstack/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,10 @@ spec:
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
{{- if .Values.persistence.enabled }}
Expand Down
11 changes: 11 additions & 0 deletions charts/localstack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,17 @@ tolerations: []

affinity: {}

# Topology spread constraints for pod assignment
# Example:
# topologySpreadConstraints:
# - maxSkew: 1
# topologyKey: topology.kubernetes.io/zone
# whenUnsatisfiable: ScheduleAnyway
# labelSelector:
# matchLabels:
# app.kubernetes.io/name: localstack
topologySpreadConstraints: []

# Mount /etc/localstack/init/ready.d to run startup scripts with
# {{ template "localstack.fullname" . }}-init-scripts-config configMap
enableStartupScripts: false
Expand Down
Loading