Best practice to deliver upgrade migration scripts

We’re currently using Replicated Vendor Console and KOTS admin console to deliver software to our customer. We need to ship (shell) scripts that our customers need to be running prior to deploying a new version. What’s the best way to ship such scripts?

Hi @Pranil_Dasika
I think best practice would be to deliver those scripts as part of your application and run them within the k8s cluster. You could put them in an init container or a k8s Job.

That makes sense. Appreciate the response, @jdewinne.