Describe the bug
The query exporter stores custom SQL script configurations in the config.yaml file, which is created as a ConfigMap. This ConfigMap is then mounted as a volume into the Kubernetes pod.
When any updates are made to the ConfigMap, the changes are reflected in the mounted volumes.
However, the application remains unaware of the latest config.yaml changes until the pod is reloaded or restarted. Due to this behavior, the pod will not receive the most recent configuration until it is restarted.
Installation details
query-exporter installation type:
docker image: [adonato/query-exporter:2.7.0]
To Reproduce
To deploy the query-exporter using the Helm chart:
Ensure that the Helm chart includes the following components:
deployment.yaml for the application deployment.
configmap.yaml containing the configuration file content.
After the initial deployment, everything appears to be functioning correctly, and the application is running as expected.
However, when updating the ConfigMap, the application inside the pod does not recognize the changes, and it continues to operate with the previous configuration from the ConfigMap.
Describe the bug The query exporter stores custom SQL script configurations in the config.yaml file, which is created as a ConfigMap. This ConfigMap is then mounted as a volume into the Kubernetes pod.
When any updates are made to the ConfigMap, the changes are reflected in the mounted volumes.
However, the application remains unaware of the latest
config.yaml
changes until the pod is reloaded or restarted. Due to this behavior, the pod will not receive the most recent configuration until it is restarted.Installation details
adonato/query-exporter:2.7.0
]To Reproduce
To deploy the query-exporter using the Helm chart:
After the initial deployment, everything appears to be functioning correctly, and the application is running as expected.
However, when updating the ConfigMap, the application inside the pod does not recognize the changes, and it continues to operate with the previous configuration from the ConfigMap.