...
The article explains how to deliver a customized logback.xml to the HiveMQ Platform containers.
\uD83D\uDCD8 Instructions
Prepare the logback.xml and test it locally first.
Create a configMap from the customized logback.xml
Code Block language bash kubectl create configmap logback-configuration --from-file logback.xml --namespace hivemq
Add the element to the additionalVolumes array of the hivemq-platform’s values.yaml:
Code Block language yaml additionalVolumes: - type: configMap name: logback-configuration mountName: logback-configuration containerName: hivemq path: /opt/hivemq/conf/ subPath: "logback.xml"
Execute the helm upgrade command to pick up the changes:
Code Block language bash helm upgrade my-broker --install hivemq/hivemq-platform --values hivemq-platform-values.yaml
Info |
---|
If everything is correct the rolling restart will happen. |
\uD83D\uDCCB Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|