Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bitnami/kube-prometheus] Enable PodDisruptionBudgets (part 2) #26700

Merged
merged 6 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions bitnami/kube-prometheus/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Changelog

## 9.3.3 (2024-06-05)
## 9.4.0 (2024-06-06)

* [bitnami/kube-prometheus] Bump chart version ([#26857](https://github.com/bitnami/charts/pull/26857))
* [bitnami/kube-prometheus] Enable PodDisruptionBudgets (part 2) ([#26700](https://github.com/bitnami/charts/pull/26700))

## <small>9.3.3 (2024-06-05)</small>

* [bitnami/kube-prometheus] Bump chart version (#26857) ([12075c6](https://github.com/bitnami/charts/commit/12075c61aa7fd641337d67943dabb235e5c6e789)), closes [#26857](https://github.com/bitnami/charts/issues/26857)

## <small>9.3.2 (2024-06-05)</small>

Expand Down
2 changes: 1 addition & 1 deletion bitnami/kube-prometheus/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ maintainers:
name: kube-prometheus
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/kube-prometheus
version: 9.3.3
version: 9.4.0
16 changes: 8 additions & 8 deletions bitnami/kube-prometheus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ As an alternative, use one of the preset configurations for pod affinity, pod an
| `operator.prometheusConfigReloader.readinessProbe.failureThreshold` | Minimum consecutive failures for the probe | `6` |
| `operator.prometheusConfigReloader.readinessProbe.successThreshold` | Minimum consecutive successes for the probe | `1` |
| `operator.namespaces` | Optional comma-separated list of namespaces to watch (default=all). | `""` |
| `operator.pdb.create` | Enable/disable a Pod Disruption Budget creation | `false` |
| `operator.pdb.minAvailable` | Minimum number/percentage of pods that should remain scheduled | `1` |
| `operator.pdb.create` | Enable/disable a Pod Disruption Budget creation | `true` |
| `operator.pdb.minAvailable` | Minimum number/percentage of pods that should remain scheduled | `""` |
| `operator.pdb.maxUnavailable` | Maximum number/percentage of pods that may be made unavailable | `""` |

### Prometheus Parameters
Expand Down Expand Up @@ -313,8 +313,8 @@ As an alternative, use one of the preset configurations for pod affinity, pod an
| `prometheus.containerSecurityContext.allowPrivilegeEscalation` | Set container's Security Context allowPrivilegeEscalation | `false` |
| `prometheus.containerSecurityContext.capabilities.drop` | List of capabilities to be dropped | `["ALL"]` |
| `prometheus.containerSecurityContext.seccompProfile.type` | Set container's Security Context seccomp profile | `RuntimeDefault` |
| `prometheus.pdb.create` | Create a pod disruption budget for Prometheus | `false` |
| `prometheus.pdb.minAvailable` | Minimum number / percentage of pods that should remain scheduled | `1` |
| `prometheus.pdb.create` | Create a pod disruption budget for Prometheus | `true` |
| `prometheus.pdb.minAvailable` | Minimum number / percentage of pods that should remain scheduled | `""` |
| `prometheus.pdb.maxUnavailable` | Maximum number / percentage of pods that may be made unavailable | `""` |
| `prometheus.networkPolicy.enabled` | Specifies whether a NetworkPolicy should be created | `true` |
| `prometheus.networkPolicy.allowExternal` | Don't require server label for connections | `true` |
Expand Down Expand Up @@ -575,8 +575,8 @@ As an alternative, use one of the preset configurations for pod affinity, pod an
| `alertmanager.containerSecurityContext.allowPrivilegeEscalation` | Set container's Security Context allowPrivilegeEscalation | `false` |
| `alertmanager.containerSecurityContext.capabilities.drop` | List of capabilities to be dropped | `["ALL"]` |
| `alertmanager.containerSecurityContext.seccompProfile.type` | Set container's Security Context seccomp profile | `RuntimeDefault` |
| `alertmanager.pdb.create` | Create a pod disruption budget for Alertmanager | `false` |
| `alertmanager.pdb.minAvailable` | Minimum number / percentage of pods that should remain scheduled | `1` |
| `alertmanager.pdb.create` | Create a pod disruption budget for Alertmanager | `true` |
| `alertmanager.pdb.minAvailable` | Minimum number / percentage of pods that should remain scheduled | `""` |
| `alertmanager.pdb.maxUnavailable` | Maximum number / percentage of pods that may be made unavailable | `""` |
| `alertmanager.service.type` | Kubernetes service type | `ClusterIP` |
| `alertmanager.service.ports.http` | Alertmanager service port | `9093` |
Expand Down Expand Up @@ -813,8 +813,8 @@ As an alternative, use one of the preset configurations for pod affinity, pod an
| `blackboxExporter.networkPolicy.extraEgress` | Add extra ingress rules to the NetworkPolicy | `[]` |
| `blackboxExporter.networkPolicy.ingressNSMatchLabels` | Labels to match to allow traffic from other namespaces | `{}` |
| `blackboxExporter.networkPolicy.ingressNSPodMatchLabels` | Pod labels to match to allow traffic from other namespaces | `{}` |
| `blackboxExporter.pdb.create` | Enable/disable a Pod Disruption Budget creation | `false` |
| `blackboxExporter.pdb.minAvailable` | Minimum number/percentage of pods that should remain scheduled | `1` |
| `blackboxExporter.pdb.create` | Enable/disable a Pod Disruption Budget creation | `true` |
| `blackboxExporter.pdb.minAvailable` | Minimum number/percentage of pods that should remain scheduled | `""` |
| `blackboxExporter.pdb.maxUnavailable` | Maximum number/percentage of pods that may be made unavailable | `""` |
| `kubeApiServer.enabled` | Create a ServiceMonitor to scrape kube-apiserver service | `true` |
| `kubeApiServer.serviceMonitor.interval` | Scrape interval. If not set, the Prometheus default scrape interval is used. | `""` |
Expand Down
4 changes: 2 additions & 2 deletions bitnami/kube-prometheus/templates/alertmanager/pdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
{{- if .Values.alertmanager.pdb.minAvailable }}
minAvailable: {{ .Values.alertmanager.pdb.minAvailable }}
{{- end }}
{{- if .Values.alertmanager.pdb.maxUnavailable }}
maxUnavailable: {{ .Values.alertmanager.pdb.maxUnavailable }}
{{- if or .Values.alertmanager.pdb.maxUnavailable ( not .Values.alertmanager.pdb.minAvailable ) }}
maxUnavailable: {{ .Values.alertmanager.pdb.maxUnavailable | default 1 }}
{{- end }}
{{- end }}
4 changes: 2 additions & 2 deletions bitnami/kube-prometheus/templates/blackbox-exporter/pdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
{{- if .Values.blackboxExporter.pdb.minAvailable }}
minAvailable: {{ .Values.blackboxExporter.pdb.minAvailable }}
{{- end }}
{{- if .Values.blackboxExporter.pdb.maxUnavailable }}
maxUnavailable: {{ .Values.blackboxExporter.pdb.maxUnavailable }}
{{- if or .Values.blackboxExporter.pdb.maxUnavailable ( not .Values.blackboxExporter.pdb.minAvailable ) }}
maxUnavailable: {{ .Values.blackboxExporter.pdb.maxUnavailable | default 1 }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
{{- if .Values.operator.pdb.minAvailable }}
minAvailable: {{ .Values.operator.pdb.minAvailable }}
{{- end }}
{{- if .Values.operator.pdb.maxUnavailable }}
maxUnavailable: {{ .Values.operator.pdb.maxUnavailable }}
{{- if or .Values.operator.pdb.maxUnavailable ( not .Values.operator.pdb.minAvailable ) }}
maxUnavailable: {{ .Values.operator.pdb.maxUnavailable | default 1 }}
{{- end }}
{{- end }}
4 changes: 2 additions & 2 deletions bitnami/kube-prometheus/templates/prometheus/pdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
{{- if .Values.prometheus.pdb.minAvailable }}
minAvailable: {{ .Values.prometheus.pdb.minAvailable }}
{{- end }}
{{- if .Values.prometheus.pdb.maxUnavailable }}
maxUnavailable: {{ .Values.prometheus.pdb.maxUnavailable }}
{{- if or .Values.prometheus.pdb.maxUnavailable ( not .Values.prometheus.pdb.minAvailable ) }}
maxUnavailable: {{ .Values.prometheus.pdb.maxUnavailable | default 1 }}
{{- end }}
{{- end }}
16 changes: 8 additions & 8 deletions bitnami/kube-prometheus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -609,8 +609,8 @@ operator:
## @param operator.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
##
pdb:
create: false
minAvailable: 1
create: true
minAvailable: ""
maxUnavailable: ""

## @section Prometheus Parameters
Expand Down Expand Up @@ -711,8 +711,8 @@ prometheus:
## @param prometheus.pdb.maxUnavailable Maximum number / percentage of pods that may be made unavailable
##
pdb:
create: false
minAvailable: 1
create: true
minAvailable: ""
maxUnavailable: ""
## Network Policies
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
Expand Down Expand Up @@ -1882,8 +1882,8 @@ alertmanager:
## @param alertmanager.pdb.maxUnavailable Maximum number / percentage of pods that may be made unavailable
##
pdb:
create: false
minAvailable: 1
create: true
minAvailable: ""
maxUnavailable: ""
## Alertmanager Service
##
Expand Down Expand Up @@ -2928,8 +2928,8 @@ blackboxExporter:
## @param blackboxExporter.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
##
pdb:
create: false
minAvailable: 1
create: true
minAvailable: ""
maxUnavailable: ""
## Component scraping the kube-apiserver
##
Expand Down
Loading