Mosquitto MQTT operator for Kubernetes
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Vladimir Smagin a35df97389 cleanup go mod il y a 3 heures
build successful run and work il y a 9 mois
cmd/manager successful run and work il y a 9 mois
deploy add helm il y a 12 heures
pkg add jenkins pipeline il y a 5 mois
vendor fix, pipeline, add vendoring il y a 5 mois
version jenkins versioning il y a 5 mois
.gitignore successful run and work il y a 9 mois
Dockerfile fix dockerfile il y a 3 heures
Jenkinsfile add helm il y a 12 heures
README.md add helm il y a 12 heures
VERSION jenkins versioning il y a 5 mois
go.mod node selector, tolerations, storage class, set limits il y a 7 mois
go.sum cleanup go mod il y a 3 heures
logo.png logo il y a 9 mois
tools.go successful run and work il y a 9 mois

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

Helm

helm repo add 21h https://charts.blindage.org
helm repo update
helm install mqtt-operator 21h/mqtt-operator -n operators

Manual install

You can install namespaced or cluster scoped 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