Trigger app/docker image refresh

kyeotic

Dabbler
Joined
Mar 2, 2023
Messages
15
I have a custom docker image installed (its via TrueCharts custom app, but I assume this still applies). If I push an update to that image I want to be able to automatically have TrueNAS update the image. Ideally this would happen with a rolling deploy so that I have a least 2 replicas there is no downtime for the app.

I'm not sure how to do this in any official way, but that would be nice.

I have tried doing this via ssh/k3s using the "rolling restart" command. The first issue is that it requires either sudo elevation, or SSH via root. Regardless of how I get around that, there is another issue: for some reason this command doesn't "roll", it kills all the pods immediately.

1679714727459.png


Is there a way around the issues with ssh and k3s?
 

Attachments

  • 1679714665368.png
    1679714665368.png
    50 KB · Views: 152
Top