I am working on bringing up Eclipse mosquitto broker docker image as a kubernetes container with the below YAML configuration. However, I am unable to have any sort of logging working for this broker, to enable some debugging. Is there a way to pass "command" to ask this docker image to the configuration file provided instead of using the default one ? Can anyone share a commonly used YAML file for starting the broker with persistance/volume/logging capabilities ?
apiVersion: v1
kind: Pod
metadata:
name: infra-pod
labels:
app: infra
spec:
containers:
- name: mosquitto-broker
image: eclipse-mosquitto
ports:
- containerPort: 1883
- containerPort: 8883