Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The article explains how to deliver a customized logback.xml to the HiveMQ Platform containers.

\uD83D\uDCD8 Instructions

  1. Prepare the logback.xml and test it locally first.

  2. Create a configMap from the customized logback.xml

    Code Block
    languagebash
    kubectl create configmap logback-configuration --from-file logback.xml --namespace hivemq
  3. Add the element to the additionalVolumes array of the hivemq-platform’s values.yaml:

    Code Block
    languageyaml
    additionalVolumes:
      - type: configMap
        name: logback-configuration
        mountName: logback-configuration
        containerName: hivemq
        path: /opt/hivemq/conf/
        subPath: "logback.xml"
  4. Execute the helm upgrade command to pick up the changes:

    Code Block
    languagebash
    helm upgrade my-broker --install hivemq/hivemq-platform --values hivemq-platform-values.yaml
Info

If everything is correct the rolling restart will happen.

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@957
sortmodified
showSpacefalse
reversetrue
typepage
labelskb-how-to-article
cqllabel = "kb-how-to-article" and type = "page" and space = "KB"