Is there an official guide to deploy
# contributing
b
Is there an official guide to deploy Umbraco 14 on Kubernets? I create a Dockerfile and it run ok on Docker. On k8s I've the error Unhandled exception. System.TimeoutException: Cannot acquire MainDom. Thx.
s
There is no official guide yet as we don't support it yet. @CarlCod_es has done a lot of work on this but I don't think he got to the k8s stage yet. https://skrift.io/authors/carl-sargunar/ There's also an article from @Erik-Jan Westendorp and Corné: https://24days.in/umbraco-cms/2022/umbraco-kubernetes/
Ps. a reminder for next time: this is a question for #1125392773038755890 - this channel is all about contributions to Umbraco's codebase! (see https://docs.umbraco.com/contributing/documentation)
c
Gimme a few weeks to get past UK fest and I've been planning to release some content about this - around Nov/Dec time 🙂
b
Sorry to post on wrong channell. I read a lots that files...I don't know why on K8 give that error and on Docker Desktop no.
Can I show the dockerfile and the K8 deploy yaml file?
c
Sure - ping it over
but the error already suggest to me connection - have you got multiple appsettings with the right connection string and env variables? System.TimeoutException: Cannot acquire MainDom - That's usually becuase the app can't connect to the DB
b
@CarlCod_es Hi..I found the issue..the pod now start and not crash. The problem was that the media folder was not there. Where Can I write you?
c
You can dm me on here, I’d be happy to chat
b
k
Yes....After a lots of trials and days, I'm able to run Umbraco 14 in K8S with SQL on Azure and media and View as PVC. I'll try to put wwwroot in a VC, but I've to solve to copy the cshtml files into the View folder after the deploy because if you create a volume this is empty. https://cdn.discordapp.com/attachments/1293889744450752595/1294013606115016869/image.png?ex=67097795&is=67082615&hm=4ee1972457e58c51b02a456c512aaaa30a1935584f000769845a27f20e025936&
Solved with initContainers
59 Views