From 251c25b1a83cfff1c4e5543f708cd4df847d1ef6 Mon Sep 17 00:00:00 2001 From: John McGrath <8764013+jmcgrath207@users.noreply.github.com> Date: Tue, 24 Sep 2024 20:07:55 -0500 Subject: [PATCH] 1.13.0 (#120) --- Makefile | 4 ++-- README.md | 4 +++- chart/Chart.yaml | 4 ++-- chart/README.md | 3 ++- chart/index.yaml | 24 +++++++++++++++++++++++- chart/values.yaml | 2 +- 6 files changed, 33 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index d814230..89dd5d1 100644 --- a/Makefile +++ b/Makefile @@ -95,13 +95,13 @@ release-helm: release: release-docker release-helm helm-docs # Prod release - # ex. make VERSION=1.12.3 release + # ex. make VERSION=1.13.0 release # Prerelease Candidate # ex. make VERSION=1.11.2-rc01 release release-github: # Prod release - # ex. make VERSION=1.12.3 release-github + # ex. make VERSION=1.13.0 release-github gh repo set-default jmcgrath207/k8s-ephemeral-storage-metrics gh release create ${VERSION} --generate-notes gh release upload ${VERSION} "chart/k8s-ephemeral-storage-metrics-${VERSION}.tgz" diff --git a/README.md b/README.md index 7a5a3f4..94989b4 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Actions Status](https://github.com/jmcgrath207/k8s-ephemeral-storage-metrics/workflows/ci/badge.svg)](https://github.com/jmcgrath207/k8s-ephemeral-storage-metrics/actions) [![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/k8s-ephemeral-storage-metrics)](https://artifacthub.io/packages/helm/k8s-ephemeral-storage-metrics/k8s-ephemeral-storage-metrics) +![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/jmcgrath207/k8s-ephemeral-storage-metrics/total) A prometheus ephemeral storage metric exporter for pods, containers, nodes, and volumes. @@ -38,7 +39,7 @@ helm upgrade --install my-deployment k8s-ephemeral-storage-metrics/k8s-ephemeral | image.imagePullPolicy | string | `"IfNotPresent"` | | | image.imagePullSecrets | list | `[]` | | | image.repository | string | `"ghcr.io/jmcgrath207/k8s-ephemeral-storage-metrics"` | | -| image.tag | string | `"1.12.3"` | | +| image.tag | string | `"1.13.0"` | | | interval | int | `15` | Polling node rate for exporter | | kubelet | object | `{"insecure":false,"readOnlyPort":0,"scrape":false}` | Scrape metrics through kubelet instead of kube api | | log_level | string | `"info"` | | @@ -60,6 +61,7 @@ helm upgrade --install my-deployment k8s-ephemeral-storage-metrics/k8s-ephemeral | prometheus.enable | bool | `true` | | | prometheus.release | string | `"kube-prometheus-stack"` | | | prometheus.rules.enable | bool | `false` | Create PrometheusRules firing alerts when out of ephemeral storage | +| prometheus.rules.labels | object | `{"severity":"warning"}` | What additional labels to set on alerts | | prometheus.rules.predictFilledHours | int | `12` | How many hours in the future to predict filling up of a volume | | serviceMonitor | object | `{"additionalLabels":{},"enable":true,"metricRelabelings":[],"podTargetLabels":[],"relabelings":[],"targetLabels":[]}` | Configure the Service Monitor | | serviceMonitor.additionalLabels | object | `{}` | Add labels to the ServiceMonitor.Spec | diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 8a857ab..5ae8c11 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: k8s-ephemeral-storage-metrics -version: 1.12.3 -appVersion: 1.12.3 +version: 1.13.0 +appVersion: 1.13.0 kubeVersion: ">=1.21.0-0" description: Ephemeral storage metrics for prometheus operator. home: https://github.com/jmcgrath207/k8s-ephemeral-storage-metrics diff --git a/chart/README.md b/chart/README.md index c276c3e..2c26a32 100644 --- a/chart/README.md +++ b/chart/README.md @@ -21,7 +21,7 @@ helm upgrade --install my-deployment k8s-ephemeral-storage-metrics/k8s-ephemeral | image.imagePullPolicy | string | `"IfNotPresent"` | | | image.imagePullSecrets | list | `[]` | | | image.repository | string | `"ghcr.io/jmcgrath207/k8s-ephemeral-storage-metrics"` | | -| image.tag | string | `"1.12.3"` | | +| image.tag | string | `"1.13.0"` | | | interval | int | `15` | Polling node rate for exporter | | kubelet | object | `{"insecure":false,"readOnlyPort":0,"scrape":false}` | Scrape metrics through kubelet instead of kube api | | log_level | string | `"info"` | | @@ -43,6 +43,7 @@ helm upgrade --install my-deployment k8s-ephemeral-storage-metrics/k8s-ephemeral | prometheus.enable | bool | `true` | | | prometheus.release | string | `"kube-prometheus-stack"` | | | prometheus.rules.enable | bool | `false` | Create PrometheusRules firing alerts when out of ephemeral storage | +| prometheus.rules.labels | object | `{"severity":"warning"}` | What additional labels to set on alerts | | prometheus.rules.predictFilledHours | int | `12` | How many hours in the future to predict filling up of a volume | | serviceMonitor | object | `{"additionalLabels":{},"enable":true,"metricRelabelings":[],"podTargetLabels":[],"relabelings":[],"targetLabels":[]}` | Configure the Service Monitor | | serviceMonitor.additionalLabels | object | `{}` | Add labels to the ServiceMonitor.Spec | diff --git a/chart/index.yaml b/chart/index.yaml index b7db53c..94b9879 100644 --- a/chart/index.yaml +++ b/chart/index.yaml @@ -1,6 +1,28 @@ apiVersion: v1 entries: k8s-ephemeral-storage-metrics: + - annotations: + artifacthub.io/license: MIT + artifacthub.io/links: | + - name: Documentation + url: https://github.com/jmcgrath207/k8s-ephemeral-storage-metrics + artifacthub.io/prerelease: "false" + apiVersion: v2 + appVersion: 1.13.0 + created: "2024-09-24T20:05:46.849784761-05:00" + description: Ephemeral storage metrics for prometheus operator. + digest: 0ef74a5b485771eff3d4d5de5b620592d71d942c2c12f5898f9f80a3732c8da8 + home: https://github.com/jmcgrath207/k8s-ephemeral-storage-metrics + keywords: + - kubernetes + - metrics + kubeVersion: '>=1.21.0-0' + name: k8s-ephemeral-storage-metrics + sources: + - https://github.com/jmcgrath207/k8s-ephemeral-storage-metrics + urls: + - https://github.com/jmcgrath207/k8s-ephemeral-storage-metrics/releases/download/1.13.0/k8s-ephemeral-storage-metrics-1.13.0.tgz + version: 1.13.0 - annotations: artifacthub.io/license: MIT artifacthub.io/links: | @@ -771,4 +793,4 @@ entries: urls: - https://github.com/jmcgrath207/k8s-ephemeral-storage-metrics/releases/download/1.0.0/k8s-ephemeral-storage-metrics-1.0.0.tgz version: 1.0.0 -generated: "2024-09-06T17:21:03.598148001-05:00" +generated: "2024-09-24T20:05:46.849267715-05:00" diff --git a/chart/values.yaml b/chart/values.yaml index c9e723a..e3696f5 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -1,6 +1,6 @@ image: repository: ghcr.io/jmcgrath207/k8s-ephemeral-storage-metrics - tag: 1.12.3 + tag: 1.13.0 imagePullPolicy: IfNotPresent imagePullSecrets: []