Skip to content

Commit d347da0

Browse files
Add relabels/metricRelabelings to values.yaml
1 parent 50de1d0 commit d347da0

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

charts/karpenter/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ cosign verify public.ecr.aws/karpenter/karpenter:1.4.0 \
8888
| serviceMonitor.additionalLabels | object | `{}` | Additional labels for the ServiceMonitor. |
8989
| serviceMonitor.enabled | bool | `false` | Specifies whether a ServiceMonitor should be created. |
9090
| serviceMonitor.endpointConfig | object | `{}` | Configuration on `http-metrics` endpoint for the ServiceMonitor. Not to be used to add additional endpoints. See the Prometheus operator documentation for configurable fields https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#endpoint |
91+
| serviceMonitor.metricRelabelings | list | `[]` | Metric relabelings for the `http-metrics` endpoint on the ServiceMonitor. For more details on metric relabelings, see: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs |
92+
| serviceMonitor.relabelings | list | `[]` | Relabelings for the `http-metrics` endpoint on the ServiceMonitor. For more details on relabelings, see: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config |
9193
| settings | object | `{"batchIdleDuration":"1s","batchMaxDuration":"10s","clusterCABundle":"","clusterEndpoint":"","clusterName":"","eksControlPlane":false,"featureGates":{"nodeRepair":false,"reservedCapacity":false,"spotToSpotConsolidation":false},"interruptionQueue":"","isolatedVPC":false,"preferencePolicy":"Respect","reservedENIs":"0","vmMemoryOverheadPercent":0.075}` | Global Settings to configure Karpenter |
9294
| settings.batchIdleDuration | string | `"1s"` | The maximum amount of time with no new ending pods that if exceeded ends the current batching window. If pods arrive faster than this time, the batching window will be extended up to the maxDuration. If they arrive slower, the pods will be batched separately. |
9395
| settings.batchMaxDuration | string | `"10s"` | The maximum length of a batch window. The longer this is, the more pods we can consider for provisioning at one time which usually results in fewer but larger nodes. |

charts/karpenter/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ serviceMonitor:
3030
enabled: false
3131
# -- Additional labels for the ServiceMonitor.
3232
additionalLabels: {}
33+
# -- Relabelings for the `http-metrics` endpoint on the ServiceMonitor.
34+
# For more details on relabelings, see: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
35+
relabelings: []
36+
# -- Metric relabelings for the `http-metrics` endpoint on the ServiceMonitor.
37+
# For more details on metric relabelings, see: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs
38+
metricRelabelings: []
3339
# -- Configuration on `http-metrics` endpoint for the ServiceMonitor.
3440
# Not to be used to add additional endpoints.
3541
# See the Prometheus operator documentation for configurable fields https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#endpoint

0 commit comments

Comments
 (0)