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
preguntada hace 2 años273 visualizaciones
1 Respuesta
0
Respuesta aceptada

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

Lihao
respondido hace 2 años
  • 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.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas