Best Practices for Operating HiveMQ and MQTT on Kubernetes
Written by Matthias Hofschen
Published: January 27, 2021
In July 2020, HiveMQ announced the release of the HiveMQ Kubernetes Operator. Since then, we have been busy using our operator in internal and external projects. The HiveMQ Kubernetes Operator is now part of the HiveMQ Platform with the newest version 4.5 just released.
In this technical white paper, we cover the reasons and benefits to run your production IoT applications using the HiveMQ MQTT broker at scale on Kubernetes. We give a brief overview of Kubernetes and the operator pattern and talk about why Kubernetes provides a unified descriptive approach to managing and operating IoT applications and workloads.
We also share practical experiences from the field about:
- Storage considerations for HiveMQ
- Networking Aspects in Kubernetes
- Load Balancing client connections
- TCP Keepalive for MQTT
The HiveMQ Kubernetes Operator implements the operator pattern und provides the experience and operational knowledge of the HiveMQ team in code for your benefit. Running your production IoT applications with MQTT on Kubernetes is now greatly simplified.