Skip to content

Commit 0df510d

Browse files
authored
Merge pull request prometheus-operator#1337 from dgrisonnet/kubernetes-1.22
Test against Kubernetes 1.22
2 parents 3539708 + da35954 commit 0df510d

6 files changed

+13
-13
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
- pull_request
55
env:
66
golang-version: '1.15'
7-
kind-version: 'v0.11.0'
7+
kind-version: 'v0.11.1'
88
jobs:
99
generate:
1010
runs-on: ${{ matrix.os }}
@@ -52,8 +52,8 @@ jobs:
5252
strategy:
5353
matrix:
5454
kind-image:
55-
- 'kindest/node:v1.20.0'
5655
- 'kindest/node:v1.21.1'
56+
- 'kindest/node:v1.22.0'
5757
steps:
5858
- uses: actions/checkout@v2
5959
with:

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,13 @@ $ minikube addons disable metrics-server
106106

107107
The following versions are supported and work as we test against these versions in their respective branches. But note that other versions might work!
108108

109-
| kube-prometheus stack | Kubernetes 1.18 | Kubernetes 1.19 | Kubernetes 1.20 | Kubernetes 1.21 |
110-
|--------------------------------------------------------------------------------------------------|-----------------|-----------------|-----------------|-----------------|
111-
| [`release-0.5`](https://github.com/prometheus-operator/kube-prometheus/tree/release-0.5) | ||||
112-
| [`release-0.6`](https://github.com/prometheus-operator/kube-prometheus/tree/release-0.6) | | |||
113-
| [`release-0.7`](https://github.com/prometheus-operator/kube-prometheus/tree/release-0.7) | || ||
114-
| [`release-0.8`](https://github.com/prometheus-operator/kube-prometheus/tree/release-0.8) || || |
115-
| [`HEAD`](https://github.com/prometheus-operator/kube-prometheus/tree/main) |||||
109+
| kube-prometheus stack | Kubernetes 1.18 | Kubernetes 1.19 | Kubernetes 1.20 | Kubernetes 1.21 | Kubernetes 1.22 |
110+
|------------------------------------------------------------------------------------------|-----------------|-----------------|-----------------|-----------------|-----------------|
111+
| [`release-0.5`](https://github.com/prometheus-operator/kube-prometheus/tree/release-0.5) | | ||||
112+
| [`release-0.6`](https://github.com/prometheus-operator/kube-prometheus/tree/release-0.6) | | | |||
113+
| [`release-0.7`](https://github.com/prometheus-operator/kube-prometheus/tree/release-0.7) | | || ||
114+
| [`release-0.8`](https://github.com/prometheus-operator/kube-prometheus/tree/release-0.8) | || || |
115+
| [`HEAD`](https://github.com/prometheus-operator/kube-prometheus/tree/main) | |||||
116116

117117
## Quickstart
118118

jsonnet/kube-prometheus/addons/dropping-deprecated-metrics-relabelings.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
// Drop all etcd metrics which are deprecated in kubernetes.
3333
{
3434
sourceLabels: ['__name__'],
35-
regex: 'etcd_(helper_cache_hit_count|helper_cache_miss_count|helper_cache_entry_count|request_cache_get_latencies_summary|request_cache_add_latencies_summary|request_latencies_summary)',
35+
regex: 'etcd_(helper_cache_hit_count|helper_cache_miss_count|helper_cache_entry_count|object_counts|request_cache_get_latencies_summary|request_cache_add_latencies_summary|request_latencies_summary)',
3636
action: 'drop',
3737
},
3838
// Drop all transformation metrics which are deprecated in kubernetes.

manifests/kubernetes-serviceMonitorApiserver.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ spec:
3131
sourceLabels:
3232
- __name__
3333
- action: drop
34-
regex: etcd_(helper_cache_hit_count|helper_cache_miss_count|helper_cache_entry_count|request_cache_get_latencies_summary|request_cache_add_latencies_summary|request_latencies_summary)
34+
regex: etcd_(helper_cache_hit_count|helper_cache_miss_count|helper_cache_entry_count|object_counts|request_cache_get_latencies_summary|request_cache_add_latencies_summary|request_latencies_summary)
3535
sourceLabels:
3636
- __name__
3737
- action: drop

manifests/kubernetes-serviceMonitorKubeControllerManager.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ spec:
3131
sourceLabels:
3232
- __name__
3333
- action: drop
34-
regex: etcd_(helper_cache_hit_count|helper_cache_miss_count|helper_cache_entry_count|request_cache_get_latencies_summary|request_cache_add_latencies_summary|request_latencies_summary)
34+
regex: etcd_(helper_cache_hit_count|helper_cache_miss_count|helper_cache_entry_count|object_counts|request_cache_get_latencies_summary|request_cache_add_latencies_summary|request_latencies_summary)
3535
sourceLabels:
3636
- __name__
3737
- action: drop

manifests/kubernetes-serviceMonitorKubelet.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ spec:
3232
sourceLabels:
3333
- __name__
3434
- action: drop
35-
regex: etcd_(helper_cache_hit_count|helper_cache_miss_count|helper_cache_entry_count|request_cache_get_latencies_summary|request_cache_add_latencies_summary|request_latencies_summary)
35+
regex: etcd_(helper_cache_hit_count|helper_cache_miss_count|helper_cache_entry_count|object_counts|request_cache_get_latencies_summary|request_cache_add_latencies_summary|request_latencies_summary)
3636
sourceLabels:
3737
- __name__
3838
- action: drop

0 commit comments

Comments
 (0)