I have used stateful set to deploy Azure function app. This did not change function app pod name in turn function app folder in storage account remained constant, even after restarts.