Mosquitto MQTT operator for Kubernetes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Vladimir Smagin 6a51061ef7 Merge branch 'fix_pipeline' of 21h/mqtt-operator into master 3 months ago
build successful run and work 7 months ago
cmd/manager successful run and work 7 months ago
deploy jenkins versioning 3 months ago
pkg add jenkins pipeline 3 months ago
vendor fix, pipeline, add vendoring 3 months ago
version jenkins versioning 3 months ago
.gitignore successful run and work 7 months ago
Dockerfile use vendoring 3 months ago
Jenkinsfile gggg 3 months ago
README.md readme 5 months ago
VERSION jenkins versioning 3 months ago
go.mod node selector, tolerations, storage class, set limits 5 months ago
go.sum fix, pipeline, add vendoring 3 months ago
logo.png logo 7 months ago
tools.go successful run and work 7 months ago

README.md

MQTT operator for Kubernetes

Run multiple MQTT instances in your Kubernetes cluster. Can store persistent database.

Build sources

Prebuilt images

You can find images here https://hub.docker.com/r/iam21h/mqtt-operator

Deploy operator

kubectl -f deploy/service_account.yaml
kubectl -f deploy/role.yaml
kubectl -f deploy/role_binding.yaml
kubectl -f deploy/operator.yaml

Your first MQTT deployment

Look to pkg/apis/blindage/v1alpha1/mqtt_types.go to find more parameters like affinity or annotations.

This resource can help you run your first instance:

apiVersion: blindage.org/v1alpha1
kind: MQTT
metadata:
  name: mymqtt
spec:
  autosaveInterval: 600
  autosaveOnChanges: True
  allowAnonymous: False
  persistent: True
  persistentVolumeSize: 1Gi
  users:
    myuser: mypassword
    penis: huy2

PVC owned by MQTT resource, so be careful.


Copyright by Vladimir Smagin (21h) 2019
http://blindage.org email: 21h@blindage.org
Project page: https://git.blindage.org/21h/mqtt-operator