Putting it in the docker image would be the most common practice.
It'll be compressed in the docker image, and mounting it from storage will create an additional dependency and potential extra cost as you've noted.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi all, i've a container running code in .NET 6, dockerized and running on Azure k8s. Inside this container, i handle a message from a topic of a Service Bus. It should manage aroung 20k messages a day.
Scenario description:
I have to call an .exe (size around 100 MB) that take in input a file and generate a response in a given physical subfolder on disk. The response include two files, that i upload then to a blob storage. Finally i delete these temporary files on disk. The execution of the .exe will be of 1 minute.
Question:
Where should i store the exe? Its content will change 2-3 times a year (so few times). I was thinking to include it in the docker image, for example in "\app\resources" and then call it creating a random temp folder in the same path, one for each execution. In alternative i was thinking to Azure File Share (but i'm concerned about the traffic cost). The data is temporary, so if the pod goes down, i don't care about them.
I've already read about volumes in Docker, but i don't find any question/topic that fit my problem, so i'm searching for some advices.
Thanks
Putting it in the docker image would be the most common practice.
It'll be compressed in the docker image, and mounting it from storage will create an additional dependency and potential extra cost as you've noted.