wemod123 / emqx-operator

A Kubernetes Operator for EMQX

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

emqx-operator

A Kubernetes Operator for EMQX Broker and EMQX Enterprise

Overview

The EMQX Operator provides Kubernetes native deployment and management of EMQX includes EMQX Broker and EMQX Enterprise. The purpose of this project is to simplify and automate the configuration of EMQX cluster.

The EMQX Operator includes, but is not limited to, the following features:

  • Kubernetes Custom Resource: Deploy and manage EMQX Cluster with pre-defined custom resources.

  • Simplified Deployment Configuration: Configure the fundamentals of EMQX Cluster, including persistence, configuration, license and etc, in a Kubernetes-native way.

For an introduction to the EMQX Operator, see the introduction.

Prerequisites

The EMQX Operator requires a Kubernetes cluster of version >=1.20.0.

CustomResourceDefinitions

A core feature of the EMQX Operator is to monitor the Kubernetes API server for changes to specific objects and ensure that the running EMQX deployments match these objects. The Operator acts on the following custom resource definitions (CRDs).

The example of EMQX Broker see the emqx.yaml and the example of EMQX Enterprise see the emqx-ee.yaml.

The EMQX Operator automatically detects changes on any of the above custom resource objects, and ensures that running deployments are kept in sync with the changes.

Getting Start

For more information on get started, see the getting started

Development

Prerequisites

  • golang environment
  • docker (used for creating container images, etc.)
  • Kubernetes cluster

Contributing

Many files (api, config, controller, hack,...) in this repository are auto-generated. Before proposing a pull request:

  1. Commit your changes.
  2. Run make and make manifests
  3. Commit the generated changes.

Troubleshooting

Check the troubleshooting documentation for common issues and frequently asked questions (FAQ).

About

A Kubernetes Operator for EMQX

License:Apache License 2.0


Languages

Language:Go 94.2%Language:Python 1.9%Language:Makefile 1.8%Language:Shell 1.0%Language:Mustache 0.8%Language:Dockerfile 0.3%