Open mwr-ebc opened 9 months ago
Hi. The path of the app in the image changed. The configmap does not replace the config.js. In my local copy I changed template/deployment.yaml to mountPath: /opt/iotagent-json/config.js. It seems to work now. Can you confirm?
Hey DevTobiR,
we have changed the mount path in our test setup (iota-json versions 1.19.0 and 2.4.2). With both versions, the iota seems to connect to mongodb successfully. We have deployed a simple sensor and a simple actuator to validate the correct data flows (via MQTT). Thanks for your suggestion!
We will open a pull request and update the file.
Cheers, Martin
Hi, we are currently trying to deploy the FIWARE components in our Kubernetes cluster utilitizing the most recent versions of the components. However, using the helm charts for the IoT Agent JSON, we run into the following issue: Since the helm charts were created for version 1.14, the IoT Agent comes with a discovery for the mongoDB - and with a hint that this mechanism would be depracated in the future. Now, when trying to deploy the IoT Agent with a newer version, e.g. 1.19 or the most recent 2.4.2, this mechanism seems not be integrated any longer, which results in the IoT Agent not connecting properly to the mongoDB. We are using mongoDB 6.0.9 from bitnami.
In the values.yaml we specified the mongoDB host name as "mongodb-headless.default.svc.cluster.local". So, we are wondering how the new mechanism is currently working and if there are any more recent helm charts available to deploy the IoT Agent.
You can find the error log from the IoT Agent below:
We appreciate your help. Thank you in advance!