Deploy Nextcloud on Kubernetes with Official Helm Chart
This guide details deploying Nextcloud on Kubernetes using the official Helm chart, covering configuration and considerations for self-hosting versus managed solutions.
The official Nextcloud Helm chart (version 9.4.1, bundling Nextcloud Server v35.0.2) simplifies deployment by templating manifests for resources like pods, persistent volumes, and ingress controllers. It handles complexities such as database configuration (PostgreSQL or MySQL), Redis caching, and TLS termination, allowing users to define requirements in a values.yaml file.
Deploying Nextcloud via Helm is recommended for those already managing a Kubernetes cluster, such as those using Rancher or cloud platforms like EKS/GKE/AKS. However, users without existing Kubernetes infrastructure or those concerned about operational overhead may prefer managed hosting options.
Prerequisites include a Kubernetes cluster (version 1.19+), kubectl, Helm 3, a storage class provisioner, and an ingress controller. The chart is community-maintained and licensed under AGPL-3.0, with over 529 GitHub stars.