I am using a base deployment which deploys a number of containers and configures routes on the edgeHub. Our edges have different types, and to solve that we use layers and target tags.
If I change the base deployment, the layered deployment is dropped and never reapplied, even though I can see it still targets devices:

If I deploy the exact same layer again and just increment the deployment id:

According to the documentation, my base deployment has priority 0 and should be applied to all devices in the dev environment. I then want to apply a layered deployment which also has priority 0 and should be applied on top of my base deployment.
What am I missing? It seems like the purpose of layered deployments is defeated if I cannot change the base without reapplying all layers.
Do I need a "blank" base deployment with only edgeHub and edgeAgent, and then one layered deployment for all my common containers, and then one last additional layer that depends on the type tag?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Hello @jokarl , thanks for the question! We are taking a look into this and will get back to you soon.
@jokarl I am enquiring on this issue. Please stay tuned for further updates.
Hello @jokarl , according to the doc:
"An IoT Edge device can apply one and only one standard automatic deployment, but it can apply multiple layered automatic deployments. Any layered deployments targeting a device must have a higher priority than the automatic deployment for that device."
Therefore, it is not supported that both the standard automatic deployment (what I believe you refer as base deployment) and layered automatic deployment have the same priority 0. Did you try adding a higher priority to the layered automatic deployment?
Thank you
Thank you @asergaz, apparently I'm just bad at reading the documentation.
Thank you @jokarl . Please we are always welcoming enhancements do the doc so that the information there is cristal clear. Feel free to suggest some changes\enhancements to the docs as needed.