I created a container for MariaDB using the openmediavault-k8s plugin. To do this, I used the prepared recipe and adapted it to my requirements.
Under Kubernetes/Resources/Pods, I can see that the container has been successfully started and is running.
I would have expected to be able to connect to this container using the connection string jdbc:mariadb://mariadb-app.<omvhost>. <domain>.<tld>/mariadb from any computer in the LAN, but this is not the case.
How can I ensure that port 3306 of the MariaDB container is mapped to the <omvhost>?
Unfortunately, I am quite a beginner when it comes to k8s and cannot find a way to achieve this.
What do I need to do to make it work?
The routing in the LAN is adjusted as in ‘Subdomains for Kubernetes containers not reachable’.