UNCLASSIFIED - NO CUI

Update the images and improve the PDB

General MR

Summary

[1.40.0-bb.0] (2026-07-15)

Summary

This release improves PodDisruptionBudget configuration for Elasticsearch and Kibana and updates supporting dependencies and images.

PodDisruptionBudgets

  • Adds optional Helm-managed PDBs for the Elasticsearch master, data, ingest, ml, and coord nodeSets.
  • Adds an optional Helm-managed PDB for Kibana.
  • Per-nodeSet PDBs target pods using ECK’s elasticsearch.k8s.elastic.co/statefulset-name label.
  • Cluster-wide and per-nodeSet Elasticsearch PDBs are mutually exclusive and cannot be enabled together.
  • Helm-managed PDBs default unhealthyPodEvictionPolicy to AlwaysAllow when neither minAvailable nor maxUnavailable is supplied.
  • Master, data, and Kibana PDBs default to maxUnavailable: 1.
  • Ingest, ML, and coordinating-node PDBs default to maxUnavailable: 0.
  • User-provided selectors are rejected because selectors are managed by the chart.
  • Defining both minAvailable and maxUnavailable is rejected during template rendering.

Cluster-wide Elasticsearch PDB

  • Renames elasticsearch.podDisruptionBudget to elasticsearch.clusterPodDisruptionBudget.
  • An empty cluster-wide PDB spec delegates PDB generation and availability calculations to ECK.
  • A custom cluster-wide spec must provide an unquoted, non-negative integer minAvailable.
  • The chart automatically injects the Elasticsearch cluster selector.
  • Cluster-wide maxUnavailable and user-provided selectors are rejected.

Dependency and image updates

  • Updates bb-common from 1.0.2 to 1.1.0.
  • Updates prometheus-elasticsearch-exporter from 7.3.0 to 7.4.0.
  • Updates the Iron Bank Elasticsearch exporter image from v1.10.0 to v1.11.0.

Cleanup

  • Removes the stale tests/images.txt; chart images are tracked through the helm.sh/images annotation in Chart.yaml.
  • Removes redundant Elasticsearch exporter Renovate managers.
  • Removes the obsolete authorization policy unit test that referenced templates and values removed during the bb-common migration.
  • Adds Helm unit coverage for cluster-wide, per-nodeSet, and Kibana PDB rendering and validation.

Relevant logs/screenshots

Screenshot of the new Pod Disruption Budget per node set image

Linked Issue

Related to #316 (closed)

Related to #315 (closed)

Upgrade Notices

Breaking: elasticsearch.podDisruptionBudget was renamed to elasticsearch.clusterPodDisruptionBudget. The old key is not validated and will be silently ignored, so update any overrides that set it before upgrading.

  • If you use chart defaults and never set the old key, no values change is required. The new cluster PDB key is enabled by default with an empty spec, allowing ECK to manage the cluster-wide PDB.
  • If you previously set elasticsearch.podDisruptionBudget.enabled: false, move that setting to elasticsearch.clusterPodDisruptionBudget.enabled: false. Otherwise, the ignored old key leaves the new default enabled.
  • A custom cluster-wide PDB now requires an unquoted, non-negative integer minAvailable. The chart supplies the cluster selector, so remove any custom selector. Cluster-wide maxUnavailable is rejected.
elasticsearch:
  clusterPodDisruptionBudget:
    enabled: true
    spec:
      minAvailable: 2
      unhealthyPodEvictionPolicy: AlwaysAllow # optional

If you need maxUnavailable or separate disruption limits per role, disable the cluster-wide PDB and enable one or more per-nodeSet PDBs. The two modes are mutually exclusive:

elasticsearch:
  clusterPodDisruptionBudget:
    enabled: false
  master:
    podDisruptionBudget:
      enabled: true
      spec:
        maxUnavailable: 1
  data:
    podDisruptionBudget:
      enabled: true
      spec:
        maxUnavailable: 1
Edited by Christopher O'Connell

Merge request reports

Loading
Loading