The EMQX Operator provides Kubernetes native deployment and management of EMQX, including EMQX Broker and EMQX Enterprise. The purpose of this project is to simplify and automate the configuration of the EMQX cluster.
The EMQX Operator includes, but is not limited to, the following features:
-
Simplified Deployment EMQX: Declare EMQX clusters with EMQX custom resources and deploy them quickly. For more details, please check Getting Started.
-
Manage EMQX Cluster: Automate operations and maintenance for EMQX, including cluster upgrades, runtime data persistence, updating Kubernetes resources based on the status of EMQX, etc. For more details, please check Manage EMQX.
EMQX Enterprise Version | EMQX Operator Version | APIVersion | Kind |
---|---|---|---|
4.3.x (included) ~ 4.4 | 1.2.1, 1.2.2, 1.2.3 | apps.emqx.io/v1beta3 | EmqxEnterprise |
4.4.6 (included) ~ 4.4.8 | 1.2.5 | apps.emqx.io/v1beta3 | EmqxEnterprise |
4.4.8 (included) ~ 4.4.14 | 1.2.6, 1.2.7, 1.2.8, 2.0.0, 2.0.1, 2.0.2, 2.0.3 | apps.emqx.io/v1beta3 | EmqxEnterprise |
4.4.14 or higher 4.4.x | 2.1.0, 2.1.1 | apps.emqx.io/v1beta4 | EmqxEnterprise |
5.0.0 (included) ~ 5.0.23 | 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0, 2.1.1 | apps.emqx.io/v2alpha1 | EMQX |
5.1.1 or higher | 2.2.0 | apps.emqx.io/v2beta1 | EMQX |
EMQX Open Source Version | EMQX Operator Version | APIVersion | Kind |
---|---|---|---|
4.3.x (included) ~ 4.4 | 1.2.1, 1.2.2, 1.2.3 | apps.emqx.io/v1beta3 | EmqxBroker |
4.4.6 (included) ~ 4.4.8 | 1.2.5 | apps.emqx.io/v1beta3 | EmqxBroker |
4.4.8 (included) ~ 4.4.14 | 1.2.6, 1.2.7, 1.2.8, 2.0.0, 2.0.1, 2.0.2, 2.0.3 | apps.emqx.io/v1beta3 | EmqxBroker |
4.4.14 or higher 4.4.x | 2.1.0, 2.1.1 | apps.emqx.io/v1beta4 | EmqxBroker |
5.0.6 (included) ~ 5.0.8 | 2.0.0, 2.0.1, 2.0.3 | apps.emqx.io/v2alpha1 | EMQX |
5.0.8 (included) ~ 5.0.14 | 2.0.2 | apps.emqx.io/v2alpha1 | EMQX |
5.0.14 (included) ~ 5.0.23 | 2.1.0, 2.1.1 | apps.emqx.io/v2alpha1 | EMQX |
5.1.1 or higher | 2.2.0 | apps.emqx.io/v2beta1 | EMQX |
The EMQX Operator requires a Kubernetes cluster of version >=1.24
.
Kubernetes Versions | EMQX Operator Compatibility | Notes |
---|---|---|
1.24 or higher | All functions supported | |
1.22 (included) ~ 1.23 | Supported, except MixedProtocolLBService | EMQX cluster can only use one protocol in LoadBalancer type of Service, for example TCP or UDP. |
1.21 (included) ~ 1.22 | Supported, except pod-deletion-cost | When using EMQX Core + Replicant mode cluster, updating the EMQX cluster cannot accurately delete Pods. |
1.20 (included) ~ 1.21 | Supported, manual .spec.ports[].nodePort assignment required if using NodePort type of Service |
For more details, please refer to Kubernetes changelog. |
1.16 (included) ~ 1.20 | Supported, not recommended due to lack of testing | |
Lower than 1.16 | Not supported | apiextensions/v1 APIVersion is not supported. |