Skip to content

Commit f6f5b3f

Browse files
chore(deps): update helm release kube-prometheus-stack to v87
1 parent 006095c commit f6f5b3f

13 files changed

Lines changed: 284 additions & 78 deletions

docs/examples/src/charts/charts.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ charts: helm.Charts = {
2929
crdPaths = ["**/crds/crds/*.yaml"]
3030
repoURL = "https://prometheus-community.github.io/helm-charts"
3131
schemaGenerator = "AUTO"
32-
targetRevision = "86.2.2"
32+
targetRevision = "87.0.1"
3333
}
3434
simple_chart: {
3535
chart = "simple-chart"

docs/examples/src/charts/kube_prometheus_stack/api/v1/monitoring_coreos_com_v1_alertmanager.k

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1641,7 +1641,7 @@ schema MonitoringCoreosComV1AlertmanagerSpecAlertmanagerConfigurationGlobalHTTPC
16411641

16421642
check:
16431643
_regex_match(str(proxyUrl), r"^(http|https|socks5)://.+$") if proxyUrl
1644-
len(tokenUrl) >= 1
1644+
_regex_match(str(tokenUrl), r"^(http|https)://.+$")
16451645

16461646
schema MonitoringCoreosComV1AlertmanagerSpecAlertmanagerConfigurationGlobalHTTPConfigOauth2ClientID:
16471647
r"""
@@ -4253,7 +4253,6 @@ schema MonitoringCoreosComV1AlertmanagerSpecContainersItems0SecurityContext:
42534253
procMount denotes the type of proc mount to use for the containers.
42544254
The default value is Default which uses the container runtime defaults for
42554255
readonly paths and masked paths.
4256-
This requires the ProcMountType feature flag to be enabled.
42574256
Note that this field cannot be set when spec.os.name is windows.
42584257
readOnlyRootFilesystem : bool, default is Undefined, optional
42594258
Whether this container has a read-only root filesystem.
@@ -5814,7 +5813,6 @@ schema MonitoringCoreosComV1AlertmanagerSpecInitContainersItems0SecurityContext:
58145813
procMount denotes the type of proc mount to use for the containers.
58155814
The default value is Default which uses the container runtime defaults for
58165815
readonly paths and masked paths.
5817-
This requires the ProcMountType feature flag to be enabled.
58185816
Note that this field cannot be set when spec.os.name is windows.
58195817
readOnlyRootFilesystem : bool, default is Undefined, optional
58205818
Whether this container has a read-only root filesystem.
@@ -8506,7 +8504,7 @@ schema MonitoringCoreosComV1AlertmanagerSpecVolumesItems0Image:
85068504
A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message.
85078505
The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.
85088506
The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.
8509-
The volume will be mounted read-only (ro) and non-executable files (noexec).
8507+
The volume will be mounted read-only (ro).
85108508
Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33.
85118509
The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.
85128510
@@ -8661,8 +8659,7 @@ schema MonitoringCoreosComV1AlertmanagerSpecVolumesItems0PortworxVolume:
86618659
r"""
86628660
portworxVolume represents a portworx volume attached and mounted on kubelets host machine.
86638661
Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type
8664-
are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate
8665-
is on.
8662+
are redirected to the pxd.portworx.com CSI driver.
86668663
86678664
Attributes
86688665
----------

docs/examples/src/charts/kube_prometheus_stack/api/v1/monitoring_coreos_com_v1_pod_monitor.k

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,10 @@ schema MonitoringCoreosComV1PodMonitorSpecAttachMetadata:
181181
182182
The Prometheus service account must have the `list` and `watch`
183183
permissions on the `Nodes` objects.
184+
185+
Node metadata labels are not automatically added to scraped metrics. They are
186+
exposed as `__meta_kubernetes_node_*` labels and can be copied to timeseries
187+
with relabeling configuration.
184188
"""
185189
node?: bool
186190

@@ -591,7 +595,7 @@ schema MonitoringCoreosComV1PodMonitorSpecPodMetricsEndpointsItems0Oauth2:
591595

592596
check:
593597
_regex_match(str(proxyUrl), r"^(http|https|socks5)://.+$") if proxyUrl
594-
len(tokenUrl) >= 1
598+
_regex_match(str(tokenUrl), r"^(http|https)://.+$")
595599

596600
schema MonitoringCoreosComV1PodMonitorSpecPodMetricsEndpointsItems0Oauth2ClientID:
597601
r"""

docs/examples/src/charts/kube_prometheus_stack/api/v1/monitoring_coreos_com_v1_probe.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ schema MonitoringCoreosComV1ProbeSpecOauth2:
412412

413413
check:
414414
_regex_match(str(proxyUrl), r"^(http|https|socks5)://.+$") if proxyUrl
415-
len(tokenUrl) >= 1
415+
_regex_match(str(tokenUrl), r"^(http|https)://.+$")
416416

417417
schema MonitoringCoreosComV1ProbeSpecOauth2ClientID:
418418
r"""

docs/examples/src/charts/kube_prometheus_stack/api/v1/monitoring_coreos_com_v1_prometheus.k

Lines changed: 46 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3860,7 +3860,6 @@ schema MonitoringCoreosComV1PrometheusSpecContainersItems0SecurityContext:
38603860
procMount denotes the type of proc mount to use for the containers.
38613861
The default value is Default which uses the container runtime defaults for
38623862
readonly paths and masked paths.
3863-
This requires the ProcMountType feature flag to be enabled.
38643863
Note that this field cannot be set when spec.os.name is windows.
38653864
readOnlyRootFilesystem : bool, default is Undefined, optional
38663865
Whether this container has a read-only root filesystem.
@@ -5464,7 +5463,6 @@ schema MonitoringCoreosComV1PrometheusSpecInitContainersItems0SecurityContext:
54645463
procMount denotes the type of proc mount to use for the containers.
54655464
The default value is Default which uses the container runtime defaults for
54665465
readonly paths and masked paths.
5467-
This requires the ProcMountType feature flag to be enabled.
54685466
Note that this field cannot be set when spec.os.name is windows.
54695467
readOnlyRootFilesystem : bool, default is Undefined, optional
54705468
Whether this container has a read-only root filesystem.
@@ -5872,6 +5870,22 @@ schema MonitoringCoreosComV1PrometheusSpecOtlp:
58725870
resource attributes to the `target_info` metric, on top of converting them into the `instance` and `job` labels.
58735871

58745872
It requires Prometheus >= v3.1.0.
5873+
labelNamePreserveMultipleUnderscores : bool, default is Undefined, optional
5874+
labelNamePreserveMultipleUnderscores enables preserving of multiple consecutive underscores in label names when translation_strategy uses
5875+
underscore escaping.
5876+
When true (default), multiple consecutive underscores are preserved during label name sanitization.
5877+
5878+
Notice: This one has no impact if `nameEscapingScheme` is `AllowUTF8`.
5879+
5880+
It requires Prometheus >= v3.8.0.
5881+
labelNameUnderscoreSanitization : bool, default is Undefined, optional
5882+
labelNameUnderscoreSanitization controls whether to enable prepending of 'key_' to labels starting with '_'.
5883+
Reserved labels starting with '__' are not modified.
5884+
This is only relevant when translation_strategy uses underscore escaping (e.g., "UnderscoreEscapingWithSuffixes" or "UnderscoreEscapingWithoutSuffixes").
5885+
5886+
Notice: This one has no impact if `nameEscapingScheme` is `AllowUTF8`.
5887+
5888+
It requires Prometheus >= v3.8.0.
58755889
promoteAllResourceAttributes : bool, default is Undefined, optional
58765890
promoteAllResourceAttributes promotes all resource attributes to metric labels except the ones defined in `ignoreResourceAttributes`.
58775891

@@ -5892,6 +5906,8 @@ schema MonitoringCoreosComV1PrometheusSpecOtlp:
58925906
convertHistogramsToNHCB?: bool
58935907
ignoreResourceAttributes?: [str]
58945908
keepIdentifyingResourceAttributes?: bool
5909+
labelNamePreserveMultipleUnderscores?: bool
5910+
labelNameUnderscoreSanitization?: bool
58955911
promoteAllResourceAttributes?: bool
58965912
promoteResourceAttributes?: [str]
58975913
promoteScopeMetadata?: bool
@@ -6260,6 +6276,8 @@ schema MonitoringCoreosComV1PrometheusSpecRemoteReadItems0:
62606276
tls config
62616277
url : str, default is Undefined, required
62626278
url defines the URL of the endpoint to query from.
6279+
6280+
It must use the HTTP or HTTPS scheme.
62636281
"""
62646282
authorization?: MonitoringCoreosComV1PrometheusSpecRemoteReadItems0Authorization
62656283
basicAuth?: MonitoringCoreosComV1PrometheusSpecRemoteReadItems0BasicAuth
@@ -6283,6 +6301,7 @@ schema MonitoringCoreosComV1PrometheusSpecRemoteReadItems0:
62836301
check:
62846302
_regex_match(str(proxyUrl), r"^(http|https|socks5)://.+$") if proxyUrl
62856303
_regex_match(str(remoteTimeout), r"^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$") if remoteTimeout
6304+
_regex_match(str(url), r"^(http|https)://.+$")
62866305

62876306
schema MonitoringCoreosComV1PrometheusSpecRemoteReadItems0Authorization:
62886307
r"""
@@ -6449,7 +6468,7 @@ schema MonitoringCoreosComV1PrometheusSpecRemoteReadItems0Oauth2:
64496468

64506469
check:
64516470
_regex_match(str(proxyUrl), r"^(http|https|socks5)://.+$") if proxyUrl
6452-
len(tokenUrl) >= 1
6471+
_regex_match(str(tokenUrl), r"^(http|https)://.+$")
64536472

64546473
schema MonitoringCoreosComV1PrometheusSpecRemoteReadItems0Oauth2ClientID:
64556474
r"""
@@ -7404,7 +7423,7 @@ schema MonitoringCoreosComV1PrometheusSpecRemoteWriteItems0Oauth2:
74047423

74057424
check:
74067425
_regex_match(str(proxyUrl), r"^(http|https|socks5)://.+$") if proxyUrl
7407-
len(tokenUrl) >= 1
7426+
_regex_match(str(tokenUrl), r"^(http|https)://.+$")
74087427

74097428
schema MonitoringCoreosComV1PrometheusSpecRemoteWriteItems0Oauth2ClientID:
74107429
r"""
@@ -8319,6 +8338,10 @@ schema MonitoringCoreosComV1PrometheusSpecScrapeClassesItems0AttachMetadata:
83198338

83208339
The Prometheus service account must have the `list` and `watch`
83218340
permissions on the `Nodes` objects.
8341+
8342+
Node metadata labels are not automatically added to scraped metrics. They are
8343+
exposed as `__meta_kubernetes_node_*` labels and can be copied to timeseries
8344+
with relabeling configuration.
83228345
"""
83238346
node?: bool
83248347

@@ -9071,11 +9094,8 @@ schema MonitoringCoreosComV1PrometheusSpecServiceMonitorSelectorMatchExpressions
90719094
schema MonitoringCoreosComV1PrometheusSpecShardRetentionPolicy:
90729095
r"""
90739096
shardRetentionPolicy defines the retention policy for the Prometheus shards.
9074-
(Alpha) Using this field requires the 'PrometheusShardRetentionPolicy' feature gate to be enabled.
90759097

9076-
The final goals for this feature can be seen at https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/proposals/202310-shard-autoscaling.md#graceful-scale-down-of-prometheus-servers,
9077-
however, the feature is not yet fully implemented in this PR. The limitation being:
9078-
* Retention duration is not settable, for now, shards are retained forever.
9098+
(Beta) Using this mode requires the `PrometheusShardRetentionPolicy` feature gate (enabled by default).
90799099

90809100
Attributes
90819101
----------
@@ -10792,11 +10812,27 @@ schema MonitoringCoreosComV1PrometheusSpecTsdb:
1079210812
in a breaking way.
1079310813

1079410814
It requires Prometheus >= v2.39.0 or PrometheusAgent >= v2.54.0.
10815+
staleSeriesCompactionThreshold : int | str, default is Undefined, optional
10816+
staleSeriesCompactionThreshold configures the trigger point for compacting
10817+
stale series from memory into persistent blocks and removing those stale
10818+
series from memory.
10819+
10820+
The threshold is a number between 0.0 and 1.0. It represents the ratio of
10821+
stale series in memory to the total series in memory. The stale series
10822+
compaction is triggered when this ratio crosses the configured threshold.
10823+
It may not trigger the stale series compaction if the usual head compaction
10824+
is about to happen soon.
10825+
10826+
If set to 0, stale series compaction is disabled.
10827+
10828+
It requires Prometheus >= v3.10.0.
1079510829
"""
1079610830
outOfOrderTimeWindow?: str
10831+
staleSeriesCompactionThreshold?: int | str
1079710832

1079810833
check:
1079910834
_regex_match(str(outOfOrderTimeWindow), r"^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$") if outOfOrderTimeWindow
10835+
_regex_match(str(staleSeriesCompactionThreshold), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if staleSeriesCompactionThreshold
1080010836

1080110837
schema MonitoringCoreosComV1PrometheusSpecUpdateStrategy:
1080210838
r"""
@@ -11865,7 +11901,7 @@ schema MonitoringCoreosComV1PrometheusSpecVolumesItems0Image:
1186511901
A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message.
1186611902
The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.
1186711903
The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.
11868-
The volume will be mounted read-only (ro) and non-executable files (noexec).
11904+
The volume will be mounted read-only (ro).
1186911905
Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33.
1187011906
The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.
1187111907

@@ -12020,8 +12056,7 @@ schema MonitoringCoreosComV1PrometheusSpecVolumesItems0PortworxVolume:
1202012056
r"""
1202112057
portworxVolume represents a portworx volume attached and mounted on kubelets host machine.
1202212058
Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type
12023-
are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate
12024-
is on.
12059+
are redirected to the pxd.portworx.com CSI driver.
1202512060

1202612061
Attributes
1202712062
----------

docs/examples/src/charts/kube_prometheus_stack/api/v1/monitoring_coreos_com_v1_service_monitor.k

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,10 @@ schema MonitoringCoreosComV1ServiceMonitorSpecAttachMetadata:
196196
197197
The Prometheus service account must have the `list` and `watch`
198198
permissions on the `Nodes` objects.
199+
200+
Node metadata labels are not automatically added to scraped metrics. They are
201+
exposed as `__meta_kubernetes_node_*` labels and can be copied to timeseries
202+
with relabeling configuration.
199203
"""
200204
node?: bool
201205

@@ -256,7 +260,8 @@ schema MonitoringCoreosComV1ServiceMonitorSpecEndpointsItems0:
256260
257261
If empty, Prometheus uses the default value (e.g. `/metrics`).
258262
port : str, default is Undefined, optional
259-
port defines the name of the Service port which this endpoint refers to.
263+
port defines the name of the Service port which this endpoint refers to
264+
(e.g. `.spec.ports[].name`).
260265
261266
It takes precedence over `targetPort`.
262267
proxyConnectHeader : {str:[MonitoringCoreosComV1ServiceMonitorSpecEndpointsItems0ProxyConnectHeaderItems0]}, default is Undefined, optional
@@ -288,8 +293,10 @@ schema MonitoringCoreosComV1ServiceMonitorSpecEndpointsItems0:
288293
than the target's scrape interval value in which the latter is used.
289294
The value cannot be greater than the scrape interval otherwise the operator will reject the resource.
290295
targetPort : int | str, default is Undefined, optional
291-
targetPort defines the name or number of the target port of the `Pod` object behind the
292-
Service. The port must be specified with the container's port property.
296+
targetPort defines the name or number of a container port on Pods selected
297+
by the Service.
298+
If a name, it matches against `.spec.containers[].ports[].name` of the Pods.
299+
If a number, it matches against `.spec.containers[].ports[].containerPort` of the Pods.
293300
tlsConfig : MonitoringCoreosComV1ServiceMonitorSpecEndpointsItems0TLSConfig, default is Undefined, optional
294301
tls config
295302
trackTimestampsStaleness : bool, default is Undefined, optional
@@ -570,7 +577,7 @@ schema MonitoringCoreosComV1ServiceMonitorSpecEndpointsItems0Oauth2:
570577

571578
check:
572579
_regex_match(str(proxyUrl), r"^(http|https|socks5)://.+$") if proxyUrl
573-
len(tokenUrl) >= 1
580+
_regex_match(str(tokenUrl), r"^(http|https)://.+$")
574581

575582
schema MonitoringCoreosComV1ServiceMonitorSpecEndpointsItems0Oauth2ClientID:
576583
r"""

docs/examples/src/charts/kube_prometheus_stack/api/v1/monitoring_coreos_com_v1_thanos_ruler.k

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2390,7 +2390,6 @@ schema MonitoringCoreosComV1ThanosRulerSpecContainersItems0SecurityContext:
23902390
procMount denotes the type of proc mount to use for the containers.
23912391
The default value is Default which uses the container runtime defaults for
23922392
readonly paths and masked paths.
2393-
This requires the ProcMountType feature flag to be enabled.
23942393
Note that this field cannot be set when spec.os.name is windows.
23952394
readOnlyRootFilesystem : bool, default is Undefined, optional
23962395
Whether this container has a read-only root filesystem.
@@ -4185,7 +4184,6 @@ schema MonitoringCoreosComV1ThanosRulerSpecInitContainersItems0SecurityContext:
41854184
procMount denotes the type of proc mount to use for the containers.
41864185
The default value is Default which uses the container runtime defaults for
41874186
readonly paths and masked paths.
4188-
This requires the ProcMountType feature flag to be enabled.
41894187
Note that this field cannot be set when spec.os.name is windows.
41904188
readOnlyRootFilesystem : bool, default is Undefined, optional
41914189
Whether this container has a read-only root filesystem.
@@ -5156,7 +5154,7 @@ schema MonitoringCoreosComV1ThanosRulerSpecRemoteWriteItems0Oauth2:
51565154

51575155
check:
51585156
_regex_match(str(proxyUrl), r"^(http|https|socks5)://.+$") if proxyUrl
5159-
len(tokenUrl) >= 1
5157+
_regex_match(str(tokenUrl), r"^(http|https)://.+$")
51605158

51615159
schema MonitoringCoreosComV1ThanosRulerSpecRemoteWriteItems0Oauth2ClientID:
51625160
r"""
@@ -8154,7 +8152,7 @@ schema MonitoringCoreosComV1ThanosRulerSpecVolumesItems0Image:
81548152
A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message.
81558153
The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.
81568154
The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.
8157-
The volume will be mounted read-only (ro) and non-executable files (noexec).
8155+
The volume will be mounted read-only (ro).
81588156
Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33.
81598157
The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.
81608158
@@ -8309,8 +8307,7 @@ schema MonitoringCoreosComV1ThanosRulerSpecVolumesItems0PortworxVolume:
83098307
r"""
83108308
portworxVolume represents a portworx volume attached and mounted on kubelets host machine.
83118309
Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type
8312-
are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate
8313-
is on.
8310+
are redirected to the pxd.portworx.com CSI driver.
83148311
83158312
Attributes
83168313
----------

0 commit comments

Comments
 (0)