631 epic upgrade
General MR
Summary
[6.0.6-bb.0] (2026-04-27)
Changed
- gluon updated from 0.9.7 to 0.9.8
- ironbank/opensource/grafana/enterprise-metrics updated from v2.17.3 to v2.17.12
- ironbank/opensource/grafana/mimir updated from 2.17.1 to 3.0.6
- ironbank/opensource/grafana/rollout-operator updated from v0.29.0 to v0.36.1
- ironbank/opensource/memcached/memcached updated from 1.6.39 to 1.6.41
- ironbank/opensource/nginx/nginx updated from 1.29.4 to 1.30.0
- mimir-distributed updated from 5.8.0 to 6.0.6
- minio-instance updated from 7.1.1-bb.15 to 7.1.1-bb.18
- Changed the renovate.json to include
bump-chart-yamlin the postUpgradeTasks
Added
- Added ironbank/opensource/prometheus/memcached-exporter v0.16.0
- Added
minio-bucket-initpost-install/post-upgrade Job to reliably create the MinIO bucket before Mimir starts; retries on/minio/health/liveuntil MinIO is ready, then creates each bucket via the S3 API using curl - Added IronBank image for
kafka-native(registry1.dso.mil/ironbank/opensource/apache/kafka-native:4.2.0) tovalues.yamlandChart.yaml; Kafka remains disabled by default - Added nil guard to
mimir.shouldDeployUpgradeResourceshelper to handle emptystatus.historyon the HelmRelease, preventing template panic during upgrades after a fresh Flux install/reinstall cycle - Added pre-upgrade Helm hook job to handle rollout-operator CRD breaking changes introduced in Mimir 6.0, replacing the old CRDs with updated
ReplicaTemplateandZoneAwarePodDisruptionBudgetdefinitions - Added headless service for query-frontend (
query-frontend-svc-headless.yaml) withappProtocol: tcpto enable per-endpoint Envoy listeners required for querier→query-frontend gRPC callbacks under IstiooutboundTrafficPolicy: REGISTRY_ONLY - Added
PeerAuthenticationfor rollout-operator webhook port 8443 to disable Istio mTLS interception, allowing the Kubernetes API server to reach the admission webhook - Added
AuthorizationPolicyto allow unauthenticated Kubernetes API server calls to the rollout-operator webhook on port 8443 - Added
tests/test-classic.yamlto test classic ingester architecture without MinIO operator or Kafka - Added
memberlist.dead_node_reclaim_time: 30sas a production default to prevent indefinite accumulation of dead node tombstones in the gossip KV across upgrades and pod restarts
Umbrella Branch
106-kafka-endpoints
Relevant logs/screenshots
Linked Issue
Relates to #86 (closed)
Relates to #116 (closed)
Relates to #108 (closed)
Relates to #103 (closed)
Upgrade Notices
This upgrade brings Mimir from 5.x to 6.x, which includes several upstream breaking changes. Full details and mitigations are documented in docs/6.x-UPGRADE.md. The official Mimir migration guide should also be reviewed.
1. rollout-operator CRD Schema Changes
Mimir 6.0 ships breaking schema changes to two rollout-operator CRDs (replicatemplates.rollout-operator.grafana.com and zoneawarepoddisruptionbudgets.rollout-operator.grafana.com). These CRDs must be deleted and re-applied before the Helm upgrade or the upgrade will fail.
If you are using the default Big Bang configuration, no action is required. The upgradeJob pre-upgrade Helm hook handles this automatically. This is a one-time operation — it will not fire on subsequent upgrades within the 6.x line.
If you choose to disable the upgradeJob (upgradeJob.enabled: false), you must perform the following steps manually before running helm upgrade:
# Delete the old CRDs (no CR data is stored in these — safe to delete)
kubectl delete crd replicatemplates.rollout-operator.grafana.com --ignore-not-found
kubectl delete crd zoneawarepoddisruptionbudgets.rollout-operator.grafana.com --ignore-not-found
# Apply the updated CRDs bundled in the chart
kubectl apply -f chart/files/crds/replica-templates.yaml
kubectl apply -f chart/files/crds/zone-aware-pod-disruption-budget.yaml
# Wait for CRDs to be established before proceeding
kubectl wait --for=condition=established --timeout=60s \
crd/replicatemplates.rollout-operator.grafana.com \
crd/zoneawarepoddisruptionbudgets.rollout-operator.grafana.com2. NGINX Standalone Deployment Removed
The standalone nginx deployment model deprecated in Mimir 5.x has been fully removed in 6.0. Migration to the unified gateway must be completed before upgrading.
If you have not set any explicit nginx: overrides in your values, no action is required. Big Bang defaults to the unified gateway.
If you have explicit nginx: configuration in your overrides, follow the upstream migration guide before upgrading: Migrate to unified proxy deployment
3. Ingest Storage and Kafka Now Enabled by Default Upstream
Mimir 6.0 enables Kafka-backed ingest storage by default. Without a Kafka backend this would cause Mimir to fail on upgrade.
Big Bang defaults to Classic Architecture: Big Bang overrides the upstream default and retains the classic gRPC push architecture (ingest_storage.enabled: false, push_grpc_method_enabled: true, kafka.enabled: false) to preserve continuity for existing deployments.
If you wish to adopt the new ingest storage architecture, note that the bundled kafka-native image is for demonstration and testing only — upstream explicitly states it is not suitable for production. A cloud-managed Kafka backend (Amazon MSK, Confluent Cloud, or Azure Event Hubs) is required for production use. See docs/6.x-UPGRADE.md for guidance.
4. rollout-operator Admission Webhooks Impact MinIO Tenant in the Mimir Namespace
Mimir 6.0 enables the rollout-operator by default. The rollout-operator installs namespace-scoped admission webhooks that intercept all StatefulSet UPDATE operations in the Mimir namespace with failurePolicy: Fail. If a MinIO Tenant is co-deployed in the mimir namespace, the MinIO Operator reconciliation calls will be intercepted, silently blocking Tenant CR updates such as scaling and configuration changes.
If you are not deploying a MinIO Tenant in the mimir namespace, no action is required.
If you are using minio-tenant.enabled: true in your Mimir values, choose one of the following:
Option A — Enable the bucketInit job (addresses initial bucket creation only):
mimir:
values:
minio-tenant:
enabled: true
bucketInit:
enabled: trueNote: this mitigates the initial bucket creation race but does not fully resolve ongoing Tenant spec changes being blocked by the webhook.
Option B — Deploy MinIO via the Big Bang minio addon in a separate namespace (recommended for production):
addons:
minioOperator:
enabled: true
minio:
enabled: true
mimir:
values:
minio-tenant:
enabled: false
upstream:
mimir:
structuredConfig:
common:
storage:
backend: s3
s3:
endpoint: minio.minio.svc.cluster.local:9000
access_key_id: <your-access-key>
secret_access_key: <your-secret-key>
insecure: true
blocks_storage:
s3:
bucket_name: mimir-blocks
ruler_storage:
s3:
bucket_name: mimir-ruler
alertmanager_storage:
s3:
bucket_name: mimir-alertmanagerOption C — Disable the rollout-operator (only if zone-aware replication is not in use):
This removes the admission webhooks entirely. Only safe when upstream.ingester.zoneAwareReplication.enabled: false and upstream.store_gateway.zoneAwareReplication.enabled: false (the defaults). Disabling the rollout-operator when zone-aware replication is active is highly discouraged as this removes safeguards against data loss during scale-down.
mimir:
values:
upstream:
rollout_operator:
enabled: false5. Node Rotation and AMI Updates
When zone-aware replication is active, the rollout-operator installs four admission webhook configurations (no-downscale, prepare-downscale, pod-eviction, zpdb-validation) with failurePolicy: Fail. These webhooks intercept pod eviction requests within the Mimir namespace and will actively block node drain operations — including automated AMI updates and instance type changes — resulting in a deadlock where nodes cannot drain and the cloud provider eventually terminates them after the replacement timeout.
If zone-aware replication is not enabled, no action is required.
Before any planned node rotation, the webhook configurations must be removed. The procedure differs depending on whether you are managing Mimir via Flux or directly with Helm.
If using Flux:
# 1. Suspend the HelmRelease to prevent Flux recreating the webhook configurations mid-rotation
flux suspend helmrelease mimir -n bigbang
# 2. Delete the webhook configurations (cluster-scoped — no -n flag)
kubectl delete validatingwebhookconfiguration no-downscale-mimir pod-eviction-mimir zpdb-validation-mimir
kubectl delete mutatingwebhookconfiguration prepare-downscale-mimirRotate nodes one zone at a time. Allow Mimir to fully stabilize (all pods Running and Ready) after each zone before proceeding to the next.
# 3. Resume to restore webhook configurations — triggers reconciliation automatically
flux resume helmrelease mimir -n bigbangIf using Helm directly:
# 1. Delete the webhook configurations (cluster-scoped — no -n flag)
kubectl delete validatingwebhookconfiguration no-downscale-mimir pod-eviction-mimir zpdb-validation-mimir
kubectl delete mutatingwebhookconfiguration prepare-downscale-mimirRotate nodes one zone at a time. Allow Mimir to fully stabilize after each zone before proceeding.
# 2. Run helm upgrade to restore the webhook configurations
helm upgrade mimir chart/ -n mimir -f your-values.yamlSee docs/6.x-UPGRADE.md- 4. for full details.
