Skip to content

v5 docker-compose/k8s being able to initialize mqtt user(s) for authentication #9142

Answered by slaesh
slaesh asked this question in Q&A
Discussion options

You must be logged in to vote

so.. what I have done now.. maybe it helps someone else 🤷

apiVersion: apps/v1
kind: Deployment
metadata:
  name: mqtt-emqx
  namespace: customer-x
  labels:
    app: mqtt-emqx
spec:
  replicas: 1
  selector:
    matchLabels:
      app: mqtt-emqx
  template:
    metadata:
      labels:
        app: mqtt-emqx
    spec:
      containers:
        - name: mqtt-emqx
          image: emqx/emqx:5.0.8
          ports:
            - containerPort: 1883
              name: mqtt-port
            - containerPort: 8083
              name: websocket-port
            - containerPort: 18083
              name: http-dashboard
          env:
            - name: EMQX_NODE__COOKIE
              value: "super-…

Replies: 3 comments 16 replies

Comment options

You must be logged in to vote
7 replies
@slaesh
Comment options

@slaesh
Comment options

@lafirest
Comment options

@slaesh
Comment options

@slaesh
Comment options

Comment options

You must be logged in to vote
1 reply
@slaesh
Comment options

Comment options

You must be logged in to vote
8 replies
@slaesh
Comment options

@thalesmg
Comment options

@perotom
Comment options

@slaesh
Comment options

@perotom
Comment options

Answer selected by slaesh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
4 participants