Skip to content

cluster03: Proof of Concept with User Applications

pagong edited this page Mar 1, 2019 · 5 revisions

cluster03: Proof-of-Concept with User Applications

After having successfully implemented a K8s-based storage cluster for inter-cluster NFS shares with Rook-NFS, I naturally wanted to use these 3 volumes in a separate K8s cluster dedicated to user applications.

But first of all I had to implement three instances of the nfs-client from the K8s incubator. This time I did not use the helm chart version of nfs-client-provisioner. I made three copies of the nfs-client deploy directory and adapted the YAML files appropriately.

After these preparations, I could start deploying some stateful user applications via helm charts to my application cluster. I've used metalLB again, to get externally accessible IP addresses for each of the 3 helm apps.

DokuWiki

DokuWiki uses two PVs: one for the Apache web server and another one for DokuWiki itself.

Ghost

The Ghost CMS has an additional dependency on a database app: MariaDB. That's why three PVs are needed for the Ghost app: two PVs for MariaDB and one PV for Ghost itself.

NextCloud

I did not have success so far, in installing NextCloud via the stable helm chart. :-(