Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
405 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
For having the ENV variables for the modules , here we are deploying through the Kubernates , we need to have the variables under the container name or the create options
createOptions: |
{
"Env": [
"POSTGRES_DB=$POSTGRES_DB"
]
}
or
Both i tried but i didnt see the enviromental variables on the module
Thanks for the reply @AshokPeddakotla-MSFT , but I already mentioned in the post that I am using in the same way but still it didn't help in creating the ENV in the edge device. is there any other way ..?
@Venkata Siva Kumar Sukka Just checking in to see if the below answer(s) helped.
If an answer is helpful, please "Accept answer" or "Up-Vote" for the same which might be beneficial to other community members reading this thread.
Is this the right format for giving the Environmental variables in kubernates deployment file..?
createOptions: |
{
"Env": [
"POSTGRES_DB="Password@""
]
}
Can you clarify what "Kubernetes deployment file" is? How are you applying deployment in this file?
This seems to be using an experimental integration that is not supported and is now defunt: https://github.com/Azure/iot-edge-virtual-kubelet-provider
Please use IoT Hub to submit deployments for IoT Edge devices. Submitting deployments via Kubernetes is not supported and the OSS project is no longer maintained. I will update the repo with this info.
Sign in to comment
You cannot use variable substitution (
$POSTGRES_DB
) in the IoT Edge deployment manifest, currently.Sign in to comment
0 additional answers
Sort by: Most helpful