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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南