Skip to content

Commit f1caef1

Browse files
authored
Merge pull request #86732 from and-rewsmith/patch-3
Iotedge: Production guidance for twin limits
2 parents 34e4a97 + 7cf1568 commit f1caef1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

articles/iot-edge/production-checklist.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ Once your IoT Edge device connects, be sure to continue configuring the Upstream
8585
* Set up host storage for system modules
8686
* Reduce memory space used by the IoT Edge hub
8787
* Do not use debug versions of module images
88+
* Be mindful of twin size limits when using custom modules
8889

8990
### Be consistent with upstream protocol
9091

@@ -134,6 +135,15 @@ The default value of the timeToLiveSecs parameter is 7200 seconds, which is two
134135

135136
When moving from test scenarios to production scenarios, remember to remove debug configurations from deployment manifests. Check that none of the module images in the deployment manifests have the **\.debug** suffix. If you added create options to expose ports in the modules for debugging, remove those create options as well.
136137

138+
### Be mindful of twin size limits when using custom modules
139+
140+
The deployment manifest that contains custom modules is part of the EdgeAgent twin. Review the [limitation on module twin size](../iot-hub/iot-hub-devguide-module-twins.md#module-twin-size).
141+
142+
If you deploy a large number of modules, you might exhaust this twin size limit. Consider some common mitigations to this hard limit:
143+
144+
- Store any configuration in the custom module twin, which has its own limit.
145+
- Store some configuration that points to a non-space-limited location (that is, to a blob store).
146+
137147
## Container management
138148

139149
* **Important**

0 commit comments

Comments
 (0)