File tree Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 72
72
| pyroscope.structuredConfig | object | ` {} ` | Allows to override Phlare's configuration using structured format. |
73
73
| pyroscope.tenantOverrides | object | ` {} ` | Allows to add tenant specific overrides to the default limit configuration. |
74
74
| pyroscope.tolerations | list | ` [] ` | |
75
+ | pyroscope.topologySpreadConstraints | list | ` [] ` | Topology Spread Constraints |
75
76
| serviceMonitor.annotations | object | ` {} ` | ServiceMonitor annotations |
76
77
| serviceMonitor.enabled | bool | ` false ` | If enabled, ServiceMonitor resources for Prometheus Operator are created |
77
78
| serviceMonitor.interval | string | ` nil ` | ServiceMonitor scrape interval |
Original file line number Diff line number Diff line change @@ -129,6 +129,10 @@ spec:
129
129
nodeSelector :
130
130
{{- toYaml . | nindent 8 }}
131
131
{{- end }}
132
+ {{- with $values.topologySpreadConstraints }}
133
+ topologySpreadConstraints :
134
+ {{- toYaml . | nindent 8 }}
135
+ {{- end }}
132
136
{{- with $values.affinity }}
133
137
affinity :
134
138
{{- toYaml . | nindent 8 }}
Original file line number Diff line number Diff line change @@ -110,6 +110,9 @@ pyroscope:
110
110
111
111
nodeSelector : {}
112
112
113
+ # -- Topology Spread Constraints
114
+ topologySpreadConstraints : []
115
+
113
116
# # ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
114
117
# # If you set enabled as "True", you need :
115
118
# # - create a pv which above 10Gi and has same namespace with phlare
Original file line number Diff line number Diff line change 152
152
},
153
153
"structuredConfig" : {},
154
154
"tenantOverrides" : {},
155
- "tolerations" : []
155
+ "tolerations" : [],
156
+ "topologySpreadConstraints" : []
156
157
},
157
158
"serviceMonitor" : {
158
159
"annotations" : {},
You can’t perform that action at this time.
0 commit comments