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
asked 2 years ago266 views
1 Answer
0
Accepted Answer

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

Lihao
answered 2 years ago
  • 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.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions