Skip to content

Commit e504160

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

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

charts/karpenter/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ cosign verify public.ecr.aws/karpenter/karpenter:1.4.0 \
6565
| fullnameOverride | string | `""` | Overrides the chart's computed fullname. |
6666
| hostNetwork | bool | `false` | Bind the pod to the host network. This is required when using a custom CNI. |
6767
| imagePullPolicy | string | `"IfNotPresent"` | Image pull policy for Docker images. |
68-
| imagePullSecrets | list | `[]` | Image pull secrets for Docker images. |
68+
| imagePullSaecrets | list | `[]` | Image pull secrets for Docker images. |
6969
| initContainers | object | `{}` | add additional initContainers to run before karpenter container starts |
7070
| logErrorOutputPaths | list | `["stderr"]` | Log errorOutputPaths - defaults to stderr only |
7171
| logLevel | string | `"info"` | Global log level, defaults to 'info' |
@@ -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: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ additionalAnnotations: {}
1111
# -- Image pull policy for Docker images.
1212
imagePullPolicy: IfNotPresent
1313
# -- Image pull secrets for Docker images.
14-
imagePullSecrets: []
14+
imagePullSaecrets: []
1515
service:
1616
# -- Additional annotations for the Service.
1717
annotations: {}
@@ -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)