I want to deploy my OR model (python, pyomo) as an Rest API (using Flask) that too on Azure Kubernet. All I have came across so far are ways to do the same for ML models, which can be uploaded as pickle file and used, but the same is not possible with my model.

I am looking for resources addressing OR models for the deployment but any help is appreciated, and a template will be a bonus.