github mongodb/mongodb-kubernetes 1.10.0
Release of MCK 1.10.0

5 hours ago

MCK 1.10.0 Release Notes

Multi-Cluster Support for MongoDB Search

MongoDB Search now can be installed across multiple Kubernetes clusters, extending the Search and Vector Search capabilities that reached GA in MCK 1.9.0 to highly available, multi-region topologies.

Multi-cluster Search is supported for external replica set and sharded deployments configured with spec.source.external, letting you add full-text and vector search to MongoDB whose members are spread across clusters, data centers, or availability zones. The operator runs a per-cluster Envoy proxy and one mongot StatefulSet per shard in each member cluster, so search traffic stays local to the cluster serving it. See the MongoDB Search deployment documentation.

What's New

Added support to show cluster-level status of Search, Managed LoadBalancer, and MetricsForwarder in the MongoDBSearch resource's status.clusters field.

Added support to configure the node affinity of the MongoDB Search (mongot) pods using the MongoDBSearch CR fields spec.clusters[].nodeAffinity or spec.clusters[].shardOverrides[].nodeAffinity.

The default JVM heap size (half of the memory request) is now capped at 30GB, following the mongot sizing guidance. Heap sizes above ~30GB prevent the JVM from using compressed object pointers and degrade performance. User-provided heap flags are not affected; if more than 30GB heap is required, we recommend using jvmFlags.

Notable Limitation

For operator-managed multi-cluster MongoDB deployments, customers can use MongoDB Search, but in this release they must add the required Search parameters manually. Automatic configuration for MCK-managed multi-cluster MongoDB sources is not yet available.

General Changes

New Features

  • MongoDBOpsManager, AppDB: The mongodb-agent-monitoring sidecar container has been merged into the main
    mongodb-agent container. Both automation and monitoring now run as a single process in a single container. The
    spec.appDB.monitoringAgent field is now deprecated and has no effect; Monitoring Agent options for the AppDB —
    including log level and rotation — are configured via spec.applicationDatabase.agent and
    spec.applicationDatabase.agent.monitoringAgent, the same fields used by MongoDB resources. Enabling AppDB
    monitoring still results in rolling restarts of AppDB pods.

Bug Fixes

  • MongoDBUser: Fixed a bug where the connection string Secret created in the central cluster did not carry a controller owner reference to the MongoDBUser CR. The missing reference prevented Kubernetes garbage collection from cleaning up the Secret when the MongoDBUser was deleted.
  • MongoDBUser: Fixed a bug where the ownership guard on the connection string Secret was always satisfied regardless of the actual owner, allowing the operator to silently overwrite a Secret controlled by a different resource.
  • Fixed a bug where all MongoDBCommunity deployment telemetry rows incorrectly reported IsRunningEnterpriseImage = true. The field was being evaluated against the operator-level enterprise image rather than the image configured in each CR's spec, causing a misleading ~100% enterprise rate for the Community deployment type.
  • IsRunningEnterpriseImage for Community deployments is now derived from the mongod container image override in spec.statefulSet.spec.template.spec.containers, if present. When no override is set, the field correctly defaults to false, reflecting that Community CRs use the community MongoDB server image by default.
  • MongoDBOpsManager, AppDB: Fix for spec.applicationDatabase.agent.monitoringAgent.logRotate field not being
    handled properly. Additionally, added defaults for
    spec.applicationDatabase.agent.monitoringAgent.logRotate.sizeThresholdMB to 1000 and
    spec.applicationDatabase.agent.monitoringAgent.logRotate.timeThresholdHrs to 24, which are same defaults Ops Manager
    would set.
  • MongoDB: Fixed a bug where switching a MongoDB ReplicaSet or ShardedCluster to a new Ops Manager project could cause the automation agent to generate a random keyfile in the empty target project, breaking internal cluster authentication.

Don't miss a new mongodb-kubernetes release

NewReleases is sending notifications on new releases.