Skip to content

Commit 7c8360f

Browse files
authored
Merge pull request #203970 from w-azure/winona-restart
Added section about module restarts
2 parents 320ffaf + fd2bff5 commit 7c8360f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

articles/iot-edge/module-composition.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,18 @@ The edgeHub module and custom modules also have three properties that tell the I
171171

172172
Startup order is helpful if some modules depend on others. For example, you may want the edgeHub module to start first so that it's ready to route messages when the other modules start. Or you may want to start a storage module before the modules that send data to it. However, you should always design your modules to handle failures of other modules. It's the nature of containers that they may stop and restart at any time, and any number of times.
173173

174+
> [!NOTE]
175+
> Changes to a module's properties will result in that module restarting. For example, a restart will happen if you change properties for the:
176+
> * module image
177+
> * Docker create options
178+
> * environment variables
179+
> * restart policy
180+
> * image pull policy
181+
> * version
182+
> * startup order
183+
>
184+
> If no module property is changed, the module will **not** restart.
185+
174186
## Declare routes
175187

176188
The IoT Edge hub manages communication between modules, IoT Hub, and any leaf devices. Therefore, the $edgeHub module twin contains a desired property called *routes* that declares how messages are passed within a deployment. You can have multiple routes within the same deployment.

0 commit comments

Comments
 (0)