Kubernetes allows the automation of the Datacenter. Therefore, the servers will be replaced by Raspberry Pi4 (64Bits). I will mix 2.4 and 8GB Ram. On the architecture side, I will try to stay with 6 units and the main switch will be replaced by a 1000Mbps switch.
To reduce maintenance, I haven’t integrated the storage servers (Files and databases) in the Kubernetes cluster. I created a Glusterfs file server and a server for Postgres databases, both being easily replicable, if needed.
The goal is not to duplicate everything, but to find a solution allowing a quick recovery in case of crash.
I am currently installing Nextcloud and Matrix. Isolating the data on separate servers reduces backup/restore administration tasks, which remain entrusted to BackupPC and BorgBackup for outsourced backups.
Having started from scratch, I also reviewed the entire Kubernetes installation procedure.
The Kubernetes cluster is started, with a single Worker (Raspberry Pi 4 - 8Gb - 64bits), time to free up space for future Workers.
The steps :
- Isolate NextCloud and Matrix data via Glusterfs on a single server. The SSD disk is encrypted by Luks.
- Isolation of the Postgresql RDBMS server on a single server.
- Installation of two Kubernetes servers (Master/Worker)
- Creation of NextCloud and Matrix storages in Kubernetes
- Installation of containers/configurations for NextCloud and Matrix –> Production.
- Installation of the Monitoring part (Prometheus/Grafana)
Comments (not translated)