Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 1.22 KB

README.md

File metadata and controls

20 lines (16 loc) · 1.22 KB

Kubernetes NextCloud

A NextCloud Kubernetes deployment with Apache, MariaDB, Cron, and Redis. For more context around the code, see my article on Medium

Requirements

Deployment

  • Update mariadb/secret.yaml with MYSQL_PASSWORD and MYSQL_ROOT_PASSWORD (can be set to anything, must be base64 encoded)

  • Update nextcloud/ingress.yaml with your kubernetes domain name

  • Adjust storage size in nextcloud/pvc.yaml to fit your needs

  • (Optional) To preview generated configuration before deploying: kustomize build -o final-deployment.yaml

  • Run the following command to build and deploy

      kustomize build | kubectl apply -f -