From 96a94d2d6c0214e2580399ec1b1f83d37dfb9a42 Mon Sep 17 00:00:00 2001 From: John Mcgrath Date: Mon, 1 Apr 2024 23:10:40 -0500 Subject: [PATCH] release-1.6.3 --- Makefile | 16 ++++++++-------- README.md | 10 +++++++--- chart/Chart.yaml | 4 ++-- chart/README.md | 10 +++++++--- chart/index.yaml | 24 +++++++++++++++++++++++- chart/values.yaml | 2 +- tests/charts/many-pods/README.md | 4 ++-- 7 files changed, 50 insertions(+), 20 deletions(-) diff --git a/Makefile b/Makefile index 58cb816..7168648 100644 --- a/Makefile +++ b/Makefile @@ -86,10 +86,17 @@ release-helm: release: release-docker release-helm helm-docs # Prod release - # ex. make VERSION=1.6.2 release + # ex. make VERSION=1.6.3 release # Prerelease Candidate # ex. make VERSION=1.6.3-rc01 release +release-github: + # Prod release + # ex. make VERSION=1.6.3 release-github + gh release create ${VERSION} --generate-notes + gh release upload ${VERSION} "chart/k8s-ephemeral-storage-metrics-${VERSION}.tgz" + rm chart/k8s-ephemeral-storage-metrics-*.tgz + prerelease-github: # Prerelease Candidate # ex. make VERSION=1.6.3-rc01 prerelease-github @@ -97,12 +104,5 @@ prerelease-github: gh release upload ${VERSION} "chart/k8s-ephemeral-storage-metrics-${VERSION}.tgz" rm chart/k8s-ephemeral-storage-metrics-*.tgz -release-github: - # Prod release - # ex. make VERSION=1.6.2 release-github - gh release create ${VERSION} --generate-notes - gh release upload ${VERSION} "chart/k8s-ephemeral-storage-metrics-${VERSION}.tgz" - rm chart/k8s-ephemeral-storage-metrics-*.tgz - github_login: gh auth login --web --scopes=read:packages,write:packages \ No newline at end of file diff --git a/README.md b/README.md index 0fd9191..990a61c 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ helm upgrade --install my-deployment k8s-ephemeral-storage-metrics/k8s-ephemeral | dev | object | `{"enabled":false,"grow":{"image":"ghcr.io/jmcgrath207/k8s-ephemeral-storage-grow-test:latest","imagePullPolicy":"IfNotPresent"},"shrink":{"image":"ghcr.io/jmcgrath207/k8s-ephemeral-storage-shrink-test:latest","imagePullPolicy":"IfNotPresent"}}` | For local development or testing that will deploy grow and shrink pods and debug service | | image.imagePullPolicy | string | `"IfNotPresent"` | | | image.repository | string | `"ghcr.io/jmcgrath207/k8s-ephemeral-storage-metrics"` | | -| image.tag | string | `"1.6.2"` | | +| image.tag | string | `"1.6.3"` | | | interval | int | `15` | Polling node rate for exporter | | log_level | string | `"info"` | | | max_node_concurrency | int | `10` | Max number of concurrent query requests to the kubernetes API. | @@ -49,13 +49,17 @@ helm upgrade --install my-deployment k8s-ephemeral-storage-metrics/k8s-ephemeral | pprof | bool | `false` | Enable Pprof | | prometheus.enable | bool | `true` | | | prometheus.release | string | `"kube-prometheus-stack"` | | +| serviceMonitor.metricRelabelings | list | `[]` | | +| serviceMonitor.podTargetLabels | list | `[]` | | +| serviceMonitor.relabelings | list | `[]` | | +| serviceMonitor.targetLabels | list | `[]` | | | tolerations | list | `[]` | | ## Contribute -### Start Kind +### Start minikube ```bash -make new_kind +make new_minikube ``` ### Run locally diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 2cb0f8d..d6114c4 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: k8s-ephemeral-storage-metrics -version: 1.6.2 -appVersion: 1.6.2 +version: 1.6.3 +appVersion: 1.6.3 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 7c6ab6e..b14507b 100644 --- a/chart/README.md +++ b/chart/README.md @@ -15,7 +15,7 @@ helm upgrade --install my-deployment k8s-ephemeral-storage-metrics/k8s-ephemeral | dev | object | `{"enabled":false,"grow":{"image":"ghcr.io/jmcgrath207/k8s-ephemeral-storage-grow-test:latest","imagePullPolicy":"IfNotPresent"},"shrink":{"image":"ghcr.io/jmcgrath207/k8s-ephemeral-storage-shrink-test:latest","imagePullPolicy":"IfNotPresent"}}` | For local development or testing that will deploy grow and shrink pods and debug service | | image.imagePullPolicy | string | `"IfNotPresent"` | | | image.repository | string | `"ghcr.io/jmcgrath207/k8s-ephemeral-storage-metrics"` | | -| image.tag | string | `"1.6.2"` | | +| image.tag | string | `"1.6.3"` | | | interval | int | `15` | Polling node rate for exporter | | log_level | string | `"info"` | | | max_node_concurrency | int | `10` | Max number of concurrent query requests to the kubernetes API. | @@ -32,13 +32,17 @@ helm upgrade --install my-deployment k8s-ephemeral-storage-metrics/k8s-ephemeral | pprof | bool | `false` | Enable Pprof | | prometheus.enable | bool | `true` | | | prometheus.release | string | `"kube-prometheus-stack"` | | +| serviceMonitor.metricRelabelings | list | `[]` | | +| serviceMonitor.podTargetLabels | list | `[]` | | +| serviceMonitor.relabelings | list | `[]` | | +| serviceMonitor.targetLabels | list | `[]` | | | tolerations | list | `[]` | | ## Contribute -### Start Kind +### Start minikube ```bash -make new_kind +make new_minikube ``` ### Run locally diff --git a/chart/index.yaml b/chart/index.yaml index f292c28..786b6a5 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.6.3 + created: "2024-04-01T23:09:03.7444621-05:00" + description: Ephemeral storage metrics for prometheus operator. + digest: dbafb06b86bf0f98ce42e5acad8ce4a61b54f930d7734d9e9d1ee46a52264bef + 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.6.3/k8s-ephemeral-storage-metrics-1.6.3.tgz + version: 1.6.3 - annotations: artifacthub.io/license: MIT artifacthub.io/links: | @@ -463,4 +485,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-03-30T22:05:20.840950054-05:00" +generated: "2024-04-01T23:09:03.743877501-05:00" diff --git a/chart/values.yaml b/chart/values.yaml index 3100831..5371b87 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -1,6 +1,6 @@ image: repository: ghcr.io/jmcgrath207/k8s-ephemeral-storage-metrics - tag: 1.6.2 + tag: 1.6.3 imagePullPolicy: IfNotPresent serviceMonitor: diff --git a/tests/charts/many-pods/README.md b/tests/charts/many-pods/README.md index ad50d35..4581888 100644 --- a/tests/charts/many-pods/README.md +++ b/tests/charts/many-pods/README.md @@ -51,9 +51,9 @@ helm upgrade --install my-deployment k8s-ephemeral-storage-metrics/k8s-ephemeral ## Contribute -### Start Kind +### Start minikube ```bash -make new_kind +make new_minikube ``` ### Run locally