diff --git a/Makefile b/Makefile index 89dd5d1..2681d5e 100644 --- a/Makefile +++ b/Makefile @@ -95,13 +95,13 @@ release-helm: release: release-docker release-helm helm-docs # Prod release - # ex. make VERSION=1.13.0 release + # ex. make VERSION=1.13.1 release # Prerelease Candidate # ex. make VERSION=1.11.2-rc01 release release-github: # Prod release - # ex. make VERSION=1.13.0 release-github + # ex. make VERSION=1.13.1 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 94989b4..e0bc009 100644 --- a/README.md +++ b/README.md @@ -39,12 +39,12 @@ 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.13.0"` | | +| image.tag | string | `"1.13.1"` | | | 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"` | | | max_node_concurrency | int | `10` | Max number of concurrent query requests to the kubernetes API. | -| metrics | object | `{"adjusted_polling_rate":false,"ephemeral_storage_container_limit_percentage":true,"ephemeral_storage_container_volume_limit_percentage":true,"ephemeral_storage_container_volume_usage":true,"ephemeral_storage_node_available":true,"ephemeral_storage_node_capacity":true,"ephemeral_storage_node_percentage":true,"ephemeral_storage_pod_usage":true}` | Set metrics you want to enable | +| metrics | object | `{"adjusted_polling_rate":false,"ephemeral_storage_container_limit_percentage":true,"ephemeral_storage_container_volume_limit_percentage":true,"ephemeral_storage_container_volume_usage":true,"ephemeral_storage_node_available":true,"ephemeral_storage_node_capacity":true,"ephemeral_storage_node_percentage":true,"ephemeral_storage_pod_usage":true,"port":9100}` | Set metrics you want to enable | | metrics.adjusted_polling_rate | bool | `false` | Create the ephemeral_storage_adjusted_polling_rate metrics to report Adjusted Poll Rate in milliseconds. Typically used for testing. | | metrics.ephemeral_storage_container_limit_percentage | bool | `true` | Percentage of ephemeral storage used by a container in a pod | | metrics.ephemeral_storage_container_volume_limit_percentage | bool | `true` | Percentage of ephemeral storage used by a container's volume in a pod | @@ -53,6 +53,7 @@ helm upgrade --install my-deployment k8s-ephemeral-storage-metrics/k8s-ephemeral | metrics.ephemeral_storage_node_capacity | bool | `true` | Capacity of ephemeral storage for a node | | metrics.ephemeral_storage_node_percentage | bool | `true` | Percentage of ephemeral storage used on a node | | metrics.ephemeral_storage_pod_usage | bool | `true` | Current ephemeral byte usage of pod | +| metrics.port | int | `9100` | Adjust the metric port as needed (default 9100) | | nodeSelector | object | `{}` | | | podAnnotations | object | `{}` | | | podSecurityContext.runAsNonRoot | bool | `true` | | diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 5ae8c11..f3a2d8b 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: k8s-ephemeral-storage-metrics -version: 1.13.0 -appVersion: 1.13.0 +version: 1.13.1 +appVersion: 1.13.1 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 2c26a32..0aead05 100644 --- a/chart/README.md +++ b/chart/README.md @@ -21,12 +21,12 @@ 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.13.0"` | | +| image.tag | string | `"1.13.1"` | | | 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"` | | | max_node_concurrency | int | `10` | Max number of concurrent query requests to the kubernetes API. | -| metrics | object | `{"adjusted_polling_rate":false,"ephemeral_storage_container_limit_percentage":true,"ephemeral_storage_container_volume_limit_percentage":true,"ephemeral_storage_container_volume_usage":true,"ephemeral_storage_node_available":true,"ephemeral_storage_node_capacity":true,"ephemeral_storage_node_percentage":true,"ephemeral_storage_pod_usage":true}` | Set metrics you want to enable | +| metrics | object | `{"adjusted_polling_rate":false,"ephemeral_storage_container_limit_percentage":true,"ephemeral_storage_container_volume_limit_percentage":true,"ephemeral_storage_container_volume_usage":true,"ephemeral_storage_node_available":true,"ephemeral_storage_node_capacity":true,"ephemeral_storage_node_percentage":true,"ephemeral_storage_pod_usage":true,"port":9100}` | Set metrics you want to enable | | metrics.adjusted_polling_rate | bool | `false` | Create the ephemeral_storage_adjusted_polling_rate metrics to report Adjusted Poll Rate in milliseconds. Typically used for testing. | | metrics.ephemeral_storage_container_limit_percentage | bool | `true` | Percentage of ephemeral storage used by a container in a pod | | metrics.ephemeral_storage_container_volume_limit_percentage | bool | `true` | Percentage of ephemeral storage used by a container's volume in a pod | @@ -35,6 +35,7 @@ helm upgrade --install my-deployment k8s-ephemeral-storage-metrics/k8s-ephemeral | metrics.ephemeral_storage_node_capacity | bool | `true` | Capacity of ephemeral storage for a node | | metrics.ephemeral_storage_node_percentage | bool | `true` | Percentage of ephemeral storage used on a node | | metrics.ephemeral_storage_pod_usage | bool | `true` | Current ephemeral byte usage of pod | +| metrics.port | int | `9100` | Adjust the metric port as needed (default 9100) | | nodeSelector | object | `{}` | | | podAnnotations | object | `{}` | | | podSecurityContext.runAsNonRoot | bool | `true` | | diff --git a/chart/index.yaml b/chart/index.yaml index 94b9879..b500dd4 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.1 + created: "2024-10-08T17:46:47.694184304-05:00" + description: Ephemeral storage metrics for prometheus operator. + digest: 55fc9fdcf386c5826e858eec823728a6749d4ac190e6238da45accca8cd03f92 + 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.1/k8s-ephemeral-storage-metrics-1.13.1.tgz + version: 1.13.1 - annotations: artifacthub.io/license: MIT artifacthub.io/links: | @@ -793,4 +815,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-24T20:05:46.849267715-05:00" +generated: "2024-10-08T17:46:47.693648138-05:00" diff --git a/chart/values.yaml b/chart/values.yaml index 03f8a95..e04e4fc 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -1,6 +1,6 @@ image: repository: ghcr.io/jmcgrath207/k8s-ephemeral-storage-metrics - tag: 1.13.0 + tag: 1.13.1 imagePullPolicy: IfNotPresent imagePullSecrets: []