[bitnami/kube-prometheus] Add shards parameter to Prometheus manifest definition (#10270)

* Add shards to Prometheus object

Signed-off-by: Martin Hauskrecht <hauskrechtmartin@gmail.com>

* Update README

Signed-off-by: Martin Hauskrecht <hauskrechtmartin@gmail.com>

* Bump chart version

Signed-off-by: Martin Hauskrecht <hauskrechtmartin@gmail.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <containers@bitnami.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Bitnami Containers <containers@bitnami.com>
Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
This commit is contained in:
Martin Hauskrecht
2022-05-19 14:37:13 +02:00
committed by GitHub
parent 7e879c1a09
commit 059e7eba38
4 changed files with 14 additions and 9 deletions

View File

@@ -35,4 +35,4 @@ sources:
- https://github.com/bitnami/bitnami-docker-prometheus
- https://github.com/bitnami/bitnami-docker-alertmanager
- https://github.com/prometheus-operator/kube-prometheus
version: 6.12.2
version: 6.13.0

View File

@@ -7,7 +7,7 @@ Prometheus Operator provides easy monitoring definitions for Kubernetes services
[Overview of Prometheus Operator](https://github.com/coreos/prometheus-operator)
Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
## TL;DR
```bash
@@ -92,7 +92,7 @@ The command removes all the Kubernetes components associated with the chart and
| `operator.enabled` | Deploy Prometheus Operator to the cluster | `true` |
| `operator.image.registry` | Prometheus Operator image registry | `docker.io` |
| `operator.image.repository` | Prometheus Operator image repository | `bitnami/prometheus-operator` |
| `operator.image.tag` | Prometheus Operator Image tag (immutable tags are recommended) | `0.56.2-debian-10-r0` |
| `operator.image.tag` | Prometheus Operator Image tag (immutable tags are recommended) | `0.56.2-debian-10-r8` |
| `operator.image.pullPolicy` | Prometheus Operator image pull policy | `IfNotPresent` |
| `operator.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
| `operator.extraArgs` | Additional arguments passed to Prometheus Operator | `[]` |
@@ -177,7 +177,7 @@ The command removes all the Kubernetes components associated with the chart and
| `prometheus.enabled` | Deploy Prometheus to the cluster | `true` |
| `prometheus.image.registry` | Prometheus image registry | `docker.io` |
| `prometheus.image.repository` | Prometheus image repository | `bitnami/prometheus` |
| `prometheus.image.tag` | Prometheus Image tag (immutable tags are recommended) | `2.35.0-debian-10-r17` |
| `prometheus.image.tag` | Prometheus Image tag (immutable tags are recommended) | `2.35.0-debian-10-r25` |
| `prometheus.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
| `prometheus.serviceAccount.create` | Specify whether to create a ServiceAccount for Prometheus | `true` |
| `prometheus.serviceAccount.name` | The name of the ServiceAccount to create | `""` |
@@ -281,6 +281,7 @@ The command removes all the Kubernetes components associated with the chart and
| `prometheus.walCompression` | Enable compression of the write-ahead log using Snappy | `false` |
| `prometheus.paused` | If true, the Operator won't process any Prometheus configuration changes | `false` |
| `prometheus.replicaCount` | Number of Prometheus replicas desired | `1` |
| `prometheus.shards` | Number of Prometheus shards desired | `1` |
| `prometheus.logLevel` | Log level for Prometheus | `info` |
| `prometheus.logFormat` | Log format for Prometheus | `logfmt` |
| `prometheus.podMetadata` | Standard object's metadata | `{}` |
@@ -363,7 +364,7 @@ The command removes all the Kubernetes components associated with the chart and
| `alertmanager.enabled` | Deploy Alertmanager to the cluster | `true` |
| `alertmanager.image.registry` | Prometheus image registry | `docker.io` |
| `alertmanager.image.repository` | Prometheus Image repository | `bitnami/alertmanager` |
| `alertmanager.image.tag` | Prometheus Image tag (immutable tags are recommended) | `0.24.0-debian-10-r44` |
| `alertmanager.image.tag` | Prometheus Image tag (immutable tags are recommended) | `0.24.0-debian-10-r53` |
| `alertmanager.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
| `alertmanager.serviceAccount.create` | Specify whether to create a ServiceAccount for Alertmanager | `true` |
| `alertmanager.serviceAccount.name` | The name of the ServiceAccount to create | `""` |
@@ -484,7 +485,7 @@ The command removes all the Kubernetes components associated with the chart and
| `blackboxExporter.image.registry` | Blackbox Exporter image registry | `docker.io` |
| `blackboxExporter.image.repository` | Blackbox Exporter Image repository | `bitnami/blackbox-exporter` |
| `blackboxExporter.image.pullPolicy` | Blackbox Exporter Image pull policy | `IfNotPresent` |
| `blackboxExporter.image.tag` | Blackbox Exporter Image tag (immutable tags are recommended) | `0.20.0-debian-10-r52` |
| `blackboxExporter.image.tag` | Blackbox Exporter Image tag (immutable tags are recommended) | `0.20.0-debian-10-r61` |
| `blackboxExporter.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
| `blackboxExporter.extraEnvVars` | Array with extra environment variables to add to blackboxExporter nodes | `[]` |
| `blackboxExporter.extraEnvVarsCM` | Name of existing ConfigMap containing extra env vars for blackboxExporter nodes | `""` |
@@ -801,4 +802,4 @@ Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.

View File

@@ -7,6 +7,7 @@ metadata:
labels: {{- include "kube-prometheus.prometheus.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.prometheus.replicaCount }}
shards: {{ .Values.prometheus.shards }}
serviceAccountName: {{ template "kube-prometheus.prometheus.serviceAccountName" . }}
{{- if .Values.prometheus.serviceMonitorSelector }}
serviceMonitorSelector: {{- include "common.tplvalues.render" (dict "value" .Values.prometheus.serviceMonitorSelector "context" $) | nindent 4 }}

View File

@@ -580,7 +580,7 @@ prometheus:
## - host: example.local
## http:
## path: /
## backend:
## backend:
## service:
## name: example-svc
## port:
@@ -796,6 +796,9 @@ prometheus:
## @param prometheus.replicaCount Number of Prometheus replicas desired
##
replicaCount: 1
## @param prometheus.shards Number of Prometheus shards desired
##
shards: 1
## @param prometheus.logLevel Log level for Prometheus
##
logLevel: info
@@ -1403,7 +1406,7 @@ alertmanager:
## - host: example.local
## http:
## path: /
## backend:
## backend:
## service:
## name: example-svc
## port: