Catalogue
/
Microservices
/
MQTT and Mosquitto on Kubernetes

MQTT and Mosquitto on Kubernetes

A beginner friendly course on running MQTT with the Mosquitto broker in Kubernetes. Participants learn how Mosquitto maps to Kubernetes, how to deploy and configure it safely, and how to keep a small cluster healthy, observable, and secure.

What will you learn?

You will understand core MQTT features in a Kubernetes context, choose a simple and safe deployment pattern, and make practical choices for networking, persistence, security, and monitoring. You will also learn how to connect devices and services reliably and how to apply safe change procedures.

After this training you will be confident in:

  • Explaining how pods, Deployments or StatefulSets, Services, ConfigMaps, and Secrets support Mosquitto
  • Deploying a minimal Mosquitto setup with Helm or manifests and validating readiness
  • Choosing stable topic and payload practices and configuring retained messages and last will
  • Applying TLS, authentication, authorization, and namespace hygiene
  • Watching basic health metrics and resolving common connectivity issues

Requirements:

  • Comfortable with the command line and basic Kubernetes concepts
  • Familiarity with JSON and simple data modeling
  • Access to a non production Kubernetes cluster is helpful

Course Outline*:

*We know each team has their own needs and specifications. That is why we can modify the training outline per need.

Module 1: MQTT and Kubernetes essentials

  • Quick MQTT recap for IoT and app integration
  • Pods, Deployments vs StatefulSets, Services, and persistent volumes in plain language
  • Mosquitto image, configuration files, and container lifecycle basics

Module 2: Provisioning Mosquitto on Kubernetes

  • Helm charts vs raw manifests and when to use each
  • ConfigMaps, Secrets, listeners, persistence, and simple resource requests
  • Readiness and liveness probes and basic validation steps

Module 3: Networking and access patterns

  • ClusterIP, headless Service, LoadBalancer, and when NodePort is acceptable
  • DNS names, advertised hostnames, and client connection strings
  • External device access, Ingress for TCP, and egress considerations

Module 4: Topics and client behavior on Kubernetes

  • Topic naming for devices, sites, and teams
  • QoS levels, sessions, retained messages, and last will
  • Client options for reconnects, backoff, and simple backpressure

Module 5: Security and multitenancy

  • TLS in transit with server and client certificates
  • Authentication options such as password files and plugins
  • Authorization with ACLs and least privilege topic access across namespaces

Module 6: Observability and capacity basics

  • Logs and useful metrics for connections, inflight, and retained storage
  • Prometheus and Grafana at a glance and a simple dashboard checklist
  • Capacity signals and safe resource adjustments

Module 7: Edge to cloud and bridging

  • Broker bridges between sites and cloud and when to use them
  • Routing and filtering patterns and bandwidth awareness
  • Store and forward on constrained links and offline handling

Module 8: Troubleshooting and safe changes

  • Common issues such as listener or certificate misconfiguration
  • Rolling updates, config changes, and backup of configuration
  • Lightweight readiness and rollback checklist

Hands-on learning with expert instructors at your location for organizations.

4.122€*
Graph Icon - Education X Webflow Template
Level:
advanced
Clock Icon - Education X Webflow Template
Duration:
14
Hours (days:
2
)
Camera Icon - Education X Webflow Template
Training customized to your needs
Star Icon - Education X Webflow Template
Immersive hands-on experience in a dedicated setting
*Price can range depending on number of participants, change of outline, location etc.

Master new skills guided by experienced instructors from anywhere.

3.087€*
Graph Icon - Education X Webflow Template
Level:
advanced
Clock Icon - Education X Webflow Template
Duration:
14
Hours (days:
2
)
Camera Icon - Education X Webflow Template
Training customized to your needs
Star Icon - Education X Webflow Template
Reduced training costs
*Price can range depending on number of participants, change of outline, location etc.