I'm using server image https://hub.docker.com/_/microsoft-windows-servercore and I see that it comes by default with 20GB scratch space. I am hoping to customize the image by changing the default scratch space.
I already went through How to get past the 20gb limit? but passing --storage-opt option to docker run command or hanging the daemon.json is not an option for me as I am trying to use Windows servers as pods from Kubernetes and pod ephermal-storage limit adheres to default 20GB default container scratch space.
I have 2 questions:
Is it possible to build a custom Microsoft server image with more scratch space?
Is it possible to pass the docker run option --storage-opt to Kubernetes pod manifest as an argument?
Any help is much appreciated.