Deployong to edge using Kubernates with environmental variables for every module in deployment yaml file

Venkata Siva Kumar Sukka 46 Reputation points
2021-07-14T18:27:51.77+00:00

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

  • name: postgres
    image: "postgres:$POSTGRES_VERSION"
    env:
    • name : POSTGRES_DB
      value: $POSTGRES_DB

Both i tried but i didnt see the enviromental variables on the module

Azure IoT Edge
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.
535 questions
{count} votes

0 additional answers

Sort by: Most helpful