I have followed Barts’ excellent tutorial to get a development instance of Sitecore 10.2 up and running on AKS.
https://github.com/bplasmeijer/Sitecore-Symposium-2020-Containers-AKS
There is one flaw though, when the windows AKS node gets restarted (patching etc) the SQL database gets wiped entirely. Sure, a dev environment should be ephemeral, but I want the DB to persist beyond a machine restart. I was looking to add persistence with a volume mount for the data folder from below image, is that possible? If so what is the folder mount path?
image: scr.sitecore.com/sxp/nonproduction/mssql-developer:2017-10.0-ltsc2019
The alternative is to use the below Microsoft image on a Linux node (Microsoft don’t support a Windows SQL Image), or PaaS Azure SQL – I am shying away from those from a cost perspective for a dev instance, although the linux node is probably palatable.
image: mcr.microsoft.com/mssql/server:2019-latest