Conference
Meet EMQ at SPS 2026: Real-Time Data for Industrial AI →

EMQX ON KUBERNETES

Cloud-native MQTT on Kubernetes

Deploy, manage, and scale EMQX clusters on Kubernetes with the EMQX Operator.

Overview

Why run EMQX on Kubernetes?

Scale MQTT workloads and simplify cluster operations with the EMQX Operator.

Scale with your workload

Adjust EMQX node replicas as connection and message traffic changes. Use Kubernetes resource settings to plan capacity for your workload.

Design for failure recovery

Run multiple EMQX nodes across worker nodes or failure domains. Combine Kubernetes pod recovery with appropriate storage and client reconnection settings.

Simplify cluster operations

Declare your EMQX cluster in YAML and let the Operator reconcile its resources. Keep deployment and configuration changes in your existing Kubernetes workflow.

Architecture

EMQX Operator architecture

Devices connect to EMQX through a Kubernetes Service. The Operator manages the cluster.

Capabilities

Manage your EMQX cluster lifecycle

Automate EMQX deployment, scaling, and maintenance with the EMQX Operator.

Flexible cluster scaling

Set EMQX node replicas in the custom resource. For autoscaling, check HPA support in your Operator version and deployment mode.

Scaling API reference

Declarative deployment

Define the EMQX image, node replicas, and service settings in a custom resource, then apply it to an existing Kubernetes cluster.

Controlled cluster upgrades

Coordinate EMQX version updates through the Operator. Plan node availability, allow for MQTT client reconnection, and test the rollout before production.

Upgrade strategy guide

Prometheus and Grafana monitoring

Collect EMQX metrics with Prometheus and use Grafana dashboards to track cluster health. Configure EMQX Exporter for additional metrics.

Monitoring guide

Configuration as code

Manage supported EMQX settings through the custom resource, including listeners and authentication. Apply configuration changes using the API for your Operator version.

Configuration guide

Cloud and on-premises deployment

Use the EMQX Operator on managed Kubernetes services or your own cluster. Adapt networking, storage, and access controls to each environment.

Customer story

BAIC MOTOR scales connected vehicle messaging

BAIC MOTOR uses EMQX on Kubernetes for connected vehicle messaging, supporting hundreds of thousands of concurrent MQTT connections.

"The EMQX Kubernetes Operator has been a game-changer for our MQTT service. We can now handle hundreds of thousands of concurrent MQTT connections with low latency and high reliability. The scalability and automation of Kubernetes have also helped us expand our IoT application to new markets quickly."

——BAIC MOTOR Engineering Team

How it works

Deploy with the EMQX Operator

Start with a compatible Kubernetes cluster and EMQX Operator version, then install, configure, and connect.

Before you start

  • Check Kubernetes, EMQX, and Operator compatibility.
  • Confirm kubectl access to your cluster.
  • Review the EMQX license requirements.
  1. 1

    Install the operator

    Install the EMQX Operator in your Kubernetes cluster using the documented installation manifest, then wait for the controller to be ready.

  2. 2

    Define your EMQX cluster

    Create an EMQX custom resource in YAML. Specify the EMQX image, node replicas, and settings supported by your Operator version.

  3. 3

    Deploy and connect clients

    Apply the manifest with kubectl and wait for the cluster to report Ready. Configure access to its MQTT listener, then test a client connection.

Deployment

Deploy on managed Kubernetes

Follow the EMQX Operator deployment guides for Amazon EKS, Azure AKS, and Google Kubernetes Engine.

Google Kubernetes Engine

Deploy EMQX with the Operator on Google Cloud’s managed Kubernetes service.

GKE deployment guide

Use cases

Built for IoT applications on Kubernetes

Run MQTT services for vehicles, factories, and IoT platforms using your Kubernetes infrastructure.

Connected car platforms

Collect vehicle telemetry and deliver messages to connected fleets. Manage broker capacity through Kubernetes as connection and message volumes change.

Explore connected vehicles

Industrial IoT messaging

Connect factory equipment, sensors, and gateways through EMQX. Deliver MQTT data to downstream monitoring and analytics systems while managing the broker on Kubernetes.

Explore industrial IoT

Multi-tenant MQTT services

Operate MQTT clusters for an IoT platform or service offering. Configure authentication, topic authorization, and tenant isolation separately from the Operator’s cluster management.

Resources

Explore EMQX on Kubernetes

FAQ

Frequently asked questions

Deploy your MQTT platform on Kubernetes

Deploy EMQX with the Operator, or plan your Kubernetes architecture with an EMQX expert.