Retry deployment on single device

0

I have multiple device to which my component is deployed to. I added a new device "my-device15", but the component was not properly started on it. I SSH'd into the device and fixed the problem. Can I retry the deployment only on this device without revising the deployment (since that would impact all the other device)?

TSpark
已提问 2 年前273 查看次数
1 回答
0
已接受的回答

Hi there You could create a same deployment but change target type to single core device.

Lihao
已回答 2 年前
  • Thanks for the answer ! In that case, the device "my-device15" would have two overlapping deployments. Wouldn't that be an issue ?

  • Is the "shutdown" lifecycle script called when a component enters "broken" state ?

  • Thanks for the answer ! In that case, the device "my-device15" would have two overlapping deployments. Wouldn't that be an issue ?

    If I got a device failed like this, I'd remove it from the thing group, create a test deployment to it to make sure everything works and then add it back to thing group. I hope I understand your use case correctly.

    Is the "shutdown" lifecycle script called when a component enters "broken" state ?

    Yes, it will.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则