Commit Graph

3214 Commits

Author SHA1 Message Date
SuperQ a775fe3458
feat: Add PersistentVolume Reclaim Policy metric
In order to monitor for PVs with different reclaim policies add a
`reclaim_policy` label to the `kube_persistentvolume_info` metric.

Signed-off-by: SuperQ <superq@gmail.com>
2025-02-20 10:37:13 +01:00
Kubernetes Prow Robot 3527ceb4d5
Merge pull request #2613 from kubernetes/dependabot/go_modules/github.com/prometheus/client_golang-1.21.0
build(deps): Bump github.com/prometheus/client_golang from 1.20.5 to 1.21.0
2025-02-19 03:42:26 -08:00
dependabot[bot] 9ce7e6b771
build(deps): Bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.20.5 to 1.21.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.21.0/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.20.5...v1.21.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-19 11:13:44 +00:00
Kubernetes Prow Robot cd49aeac35
Merge pull request #2610 from kubernetes/dependabot/go_modules/github.com/spf13/cobra-1.9.1
build(deps): Bump github.com/spf13/cobra from 1.8.1 to 1.9.1
2025-02-17 04:40:22 -08:00
dependabot[bot] 16db8b7368
build(deps): Bump github.com/spf13/cobra from 1.8.1 to 1.9.1
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.8.1 to 1.9.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.8.1...v1.9.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-17 09:34:11 +00:00
Kubernetes Prow Robot 350a7c472e
Merge pull request #2609 from kubernetes/dependabot/go_modules/k8s-dependencies-648f52ad64
build(deps): Bump the k8s-dependencies group with 5 updates
2025-02-15 00:32:20 -08:00
dependabot[bot] 919ce06ec7
build(deps): Bump the k8s-dependencies group with 5 updates
Bumps the k8s-dependencies group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [k8s.io/api](https://github.com/kubernetes/api) | `0.32.1` | `0.32.2` |
| [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) | `0.32.1` | `0.32.2` |
| [k8s.io/client-go](https://github.com/kubernetes/client-go) | `0.32.1` | `0.32.2` |
| [k8s.io/component-base](https://github.com/kubernetes/component-base) | `0.32.1` | `0.32.2` |
| [k8s.io/sample-controller](https://github.com/kubernetes/sample-controller) | `0.32.1` | `0.32.2` |


Updates `k8s.io/api` from 0.32.1 to 0.32.2
- [Commits](https://github.com/kubernetes/api/compare/v0.32.1...v0.32.2)

Updates `k8s.io/apimachinery` from 0.32.1 to 0.32.2
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.32.1...v0.32.2)

Updates `k8s.io/client-go` from 0.32.1 to 0.32.2
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.32.1...v0.32.2)

Updates `k8s.io/component-base` from 0.32.1 to 0.32.2
- [Commits](https://github.com/kubernetes/component-base/compare/v0.32.1...v0.32.2)

Updates `k8s.io/sample-controller` from 0.32.1 to 0.32.2
- [Commits](https://github.com/kubernetes/sample-controller/compare/v0.32.1...v0.32.2)

---
updated-dependencies:
- dependency-name: k8s.io/api
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-dependencies
- dependency-name: k8s.io/apimachinery
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-dependencies
- dependency-name: k8s.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-dependencies
- dependency-name: k8s.io/component-base
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-dependencies
- dependency-name: k8s.io/sample-controller
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-15 08:17:23 +00:00
Kubernetes Prow Robot 2a95d4649b
Merge pull request #2606 from kubernetes/dependabot/go_modules/github.com/prometheus/exporter-toolkit-0.14.0
build(deps): Bump github.com/prometheus/exporter-toolkit from 0.13.2 to 0.14.0
2025-02-06 12:17:56 -08:00
dependabot[bot] dc60c09548
build(deps): Bump github.com/prometheus/exporter-toolkit
Bumps [github.com/prometheus/exporter-toolkit](https://github.com/prometheus/exporter-toolkit) from 0.13.2 to 0.14.0.
- [Release notes](https://github.com/prometheus/exporter-toolkit/releases)
- [Changelog](https://github.com/prometheus/exporter-toolkit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/exporter-toolkit/compare/v0.13.2...v0.14.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/exporter-toolkit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-06 20:09:02 +00:00
Kubernetes Prow Robot 4fa35209c1
Merge pull request #2600 from kubernetes/release-2.15
chore: Merge release 2.15 back to main
2025-02-03 22:14:58 -08:00
Kubernetes Prow Robot 4a585c91be
Merge pull request #2599 from mrueg/prep-v2.15.0
chore: Cut v2.15.0
2025-02-03 00:14:57 -08:00
Manuel Rüger 25eda406ea chore: Cut v2.15.0 2025-02-02 23:01:10 +01:00
Kubernetes Prow Robot c7caee60c9
Merge pull request #2553 from L3n41c/fix_gvrfromtype
fix: panic in `util.GVRFromType` for structured types
2025-01-29 04:43:26 -08:00
Kubernetes Prow Robot b6305cb93b
Merge pull request #2598 from mrueg/fix-jsonnet
fix(jsonnet): Fix NoNodePod naming
2025-01-29 04:39:22 -08:00
Kubernetes Prow Robot faf377ea13
Merge pull request #2572 from rexagod/fix-v
fix: make `$VERSION` 3rd-party independant
2025-01-29 04:11:23 -08:00
Manuel Rüger 33250c57f5 jsonnet: Fix NoNodePod naming 2025-01-29 13:05:25 +01:00
Lénaïc Huard c3b1afe61c
Handle the cases where GVRFromType returns neither a GVR nor an error 2025-01-28 21:30:58 +01:00
Kubernetes Prow Robot d4f79cbe7f
Merge pull request #2580 from clavinjune/main
docs(customresourcestate): add example to expose same metrics with different label
2025-01-27 06:31:24 -08:00
Clavianus Juneardo 9cf257a9b3
Merge branch 'kubernetes:main' into main 2025-01-27 19:51:46 +07:00
Clavianus Juneardo afc7bbcd01
docs(customresourcestate): add VPA labels and annotations 2025-01-27 19:50:46 +07:00
Kubernetes Prow Robot 662afca405
Merge pull request #2596 from kubernetes/dependabot/github_actions/actions/setup-go-5.3.0
build(deps): Bump actions/setup-go from 5.2.0 to 5.3.0
2025-01-27 02:07:25 -08:00
dependabot[bot] 21df5706ea
build(deps): Bump actions/setup-go from 5.2.0 to 5.3.0
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](3041bf56c9...f111f3307d)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-27 09:16:39 +00:00
Lénaïc Huard 61134a08b6
Return an error instead of only logging 2025-01-23 15:55:11 +01:00
Clavianus Juneardo 0c69b3567a
docs(customresourcestate): fix naming discrepancies on VPA 2025-01-21 11:04:13 +07:00
Kubernetes Prow Robot 288b3cf855
Merge pull request #2559 from RiRa12621/main
fix(kube_pod_tolerations): deduplicate tolerations before creating metric
2025-01-19 23:58:35 -08:00
Kubernetes Prow Robot 88ef004119
Merge pull request #2593 from kubernetes/dependabot/go_modules/github.com/prometheus/common-0.62.0
build(deps): Bump github.com/prometheus/common from 0.61.0 to 0.62.0
2025-01-17 05:54:34 -08:00
dependabot[bot] 9f3ebac101
build(deps): Bump github.com/prometheus/common from 0.61.0 to 0.62.0
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.61.0 to 0.62.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md)
- [Commits](https://github.com/prometheus/common/compare/v0.61.0...v0.62.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-17 13:45:33 +00:00
Kubernetes Prow Robot 3b72e1943b
Merge pull request #2592 from kubernetes/dependabot/go_modules/k8s-dependencies-e08fda7a5c
build(deps): Bump the k8s-dependencies group across 1 directory with 4 updates
2025-01-16 11:46:34 -08:00
Manuel Rüger ee0d05d15a docs: Add k8s 1.32 2025-01-16 19:02:07 +01:00
dependabot[bot] ecf94572bf
build(deps): Bump the k8s-dependencies group across 1 directory with 4 updates
Bumps the k8s-dependencies group with 4 updates in the / directory: [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery), [k8s.io/client-go](https://github.com/kubernetes/client-go), [k8s.io/component-base](https://github.com/kubernetes/component-base) and [k8s.io/sample-controller](https://github.com/kubernetes/sample-controller).


Updates `k8s.io/apimachinery` from 0.31.3 to 0.32.1
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.31.3...v0.32.1)

Updates `k8s.io/client-go` from 0.31.3 to 0.32.1
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.31.3...v0.32.1)

Updates `k8s.io/component-base` from 0.31.3 to 0.32.1
- [Commits](https://github.com/kubernetes/component-base/compare/v0.31.3...v0.32.1)

Updates `k8s.io/sample-controller` from 0.31.3 to 0.32.1
- [Commits](https://github.com/kubernetes/sample-controller/compare/v0.31.3...v0.32.1)

---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: k8s-dependencies
- dependency-name: k8s.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: k8s-dependencies
- dependency-name: k8s.io/component-base
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: k8s-dependencies
- dependency-name: k8s.io/sample-controller
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: k8s-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-16 08:57:40 +00:00
Kubernetes Prow Robot c198a18d28
Merge pull request #2588 from kubernetes/dependabot/go_modules/github.com/KimMachineGun/automemlimit-0.7.0
build(deps): Bump github.com/KimMachineGun/automemlimit from 0.6.1 to 0.7.0
2025-01-08 04:12:30 -08:00
dependabot[bot] 4955306dfa
build(deps): Bump github.com/KimMachineGun/automemlimit
Bumps [github.com/KimMachineGun/automemlimit](https://github.com/KimMachineGun/automemlimit) from 0.6.1 to 0.7.0.
- [Release notes](https://github.com/KimMachineGun/automemlimit/releases)
- [Commits](https://github.com/KimMachineGun/automemlimit/compare/v0.6.1...v0.7.0)

---
updated-dependencies:
- dependency-name: github.com/KimMachineGun/automemlimit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-08 12:03:37 +00:00
Kubernetes Prow Robot 1e06e16967
Merge pull request #2584 from jahantech/ksm-traffic-policy-metrics-cla
feat: Add External traffic policy to kube_service_info
2025-01-07 11:16:29 -08:00
clavinjune 387bd8b244
docs(customresourestate): fix All VerticalPodAutoscaler Metrics section
Signed-off-by: clavinjune <24659468+clavinjune@users.noreply.github.com>
2025-01-07 16:54:54 +07:00
clavinjune ae38bc4e67
docs(customresourestate): fix All VerticalPodAutoscaler Metrics section
Signed-off-by: clavinjune <24659468+clavinjune@users.noreply.github.com>
2025-01-07 16:53:54 +07:00
clavinjune 89f8110d61
docs(customresourestate): add example to re-expose all VPA metrics
Signed-off-by: clavinjune <24659468+clavinjune@users.noreply.github.com>
2025-01-07 16:51:46 +07:00
jahantech 0591d0bd71 feat: Add External traffic policy to kube_service_info 2025-01-02 14:41:08 +00:00
jahantech 279f84b095 feat: Add External traffic policy to kube_service_info 2025-01-02 14:38:47 +00:00
clavinjune 1412eaa183
docs(customresourestate): add kind on the example
Signed-off-by: clavinjune <24659468+clavinjune@users.noreply.github.com>
2024-12-23 17:07:39 +07:00
clavinjune a4d64fb993
docs(customresourestate): add example to expose same metrics with different label
Signed-off-by: clavinjune <24659468+clavinjune@users.noreply.github.com>
2024-12-23 17:02:00 +07:00
Kubernetes Prow Robot d3f0c1853f
Merge pull request #2577 from dashpole/update_om_links
docs: update links to openmetrics to reference the v1.0.0 release
2024-12-16 21:50:52 +01:00
David Ashpole 6cfc844ca0
update links to openmetrics to reference the v1.0.0 release
Signed-off-by: David Ashpole <dashpole@google.com>
2024-12-16 20:24:02 +00:00
Kubernetes Prow Robot b5abea9294
Merge pull request #2576 from kubernetes/dependabot/go_modules/github.com/prometheus/exporter-toolkit-0.13.2
build(deps): Bump github.com/prometheus/exporter-toolkit from 0.13.1 to 0.13.2
2024-12-15 23:34:43 +01:00
Kubernetes Prow Robot 543738ba62
Merge pull request #2574 from kubernetes/dependabot/github_actions/actions/setup-go-5.2.0
build(deps): Bump actions/setup-go from 5.1.0 to 5.2.0
2024-12-15 23:32:43 +01:00
dependabot[bot] 7c2b8b5c09
build(deps): Bump github.com/prometheus/exporter-toolkit
Bumps [github.com/prometheus/exporter-toolkit](https://github.com/prometheus/exporter-toolkit) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/prometheus/exporter-toolkit/releases)
- [Changelog](https://github.com/prometheus/exporter-toolkit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/exporter-toolkit/compare/v0.13.1...v0.13.2)

---
updated-dependencies:
- dependency-name: github.com/prometheus/exporter-toolkit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-15 22:26:06 +00:00
dependabot[bot] ace5a4b236
build(deps): Bump actions/setup-go from 5.1.0 to 5.2.0
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](41dfa10bad...3041bf56c9)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-15 22:25:29 +00:00
Kubernetes Prow Robot 36318bb970
Merge pull request #2573 from davidxia/patch-1
style: fix warning during docker build
2024-12-12 23:02:26 +01:00
David Xia ea3f5fac90
style: fix warning during docker build
by addressing the warning below.

```
make container
...

 2 warnings found (use --debug to expand):
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 3)
```
2024-12-12 14:19:33 -05:00
Kubernetes Prow Robot fb28420d3c
Merge pull request #2556 from mrueg/housekeeping
chore: Bump versions
2024-12-11 16:14:04 +00:00
Pranshu Srivastava 4bce5ea4bd
regression: make `$VERSION` 3rd-party independant
3rd-party dependencies cannot be installed pre-build since Makefile
variables are initialized earlier than that.

Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
2024-12-11 20:24:38 +05:30