Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ spec:
{{- if .Values.imageAgg.usePullSecret }}
imagePullSecrets:
- name: {{ .Values.imageAgg.pullsecretName}}
{{- end }}
{{- with .Values.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: splunk-fluentd-k8s-metrics-agg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,18 @@ priorityClassNameAgg:
# Defines node affinity to restrict pod deployment.
affinity: {}

# Defines topologySpreadConstraints to restrict pod deployment.
topologySpreadConstraints: []
#- maxSkew: 1
# topologyKey: topology.kubernetes.io/zone
# whenUnsatisfiable: DoNotSchedule
# labelSelector:
# matchExpressions:
# - key: component
# operator: In
# values:
# - aggregator

# = Kubernetes Connection Configs =
kubernetes:
# The hostname or IP address that kubelet will use to connect to. If not supplied, status.hostIP of the node is used to fetch metrics from the Kubelet API (via the $KUBERNETES_NODE_IP environment variable).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ spec:
imagePullSecrets:
- name: {{ .Values.image.pullSecretName }}
{{ end }}
{{- with .Values.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: splunk-fluentd-k8s-objects
image: {{ template "splunk-kubernetes-objects.image" . }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,18 @@ tolerations: []
# Defines node affinity to restrict pod deployment.
affinity: {}

# Defines topologySpreadConstraints to restrict pod deployment.
topologySpreadConstraints: []
#- maxSkew: 1
# topologyKey: topology.kubernetes.io/zone
# whenUnsatisfiable: DoNotSchedule
# labelSelector:
# matchExpressions:
# - key: app
# operator: In
# values:
# - splunk-kubernetes-objects

# `customFilters` defines the custom filters to be used.
# This section can be used to define custom filters using plugins like https://github.com/splunk/fluent-plugin-jq
# Its also possible to use other filters like https://www.fluentd.org/plugins#filter
Expand Down