refactoring and documentation

This commit is contained in:
2025-04-18 22:03:05 +00:00
parent d4887b4ed6
commit da4b9c25b1
9 changed files with 36 additions and 152 deletions

View File

@@ -4,9 +4,16 @@ Welcome to public repository of [https://cloud.limbosolutions.com](https://cloud
Using [NextCloud](https://nextcloud.com/)
## kubernetes
- [Setup](#setup)
- [kubernetes Namespace](#kubernetes-namespace)
- [Add helm chart](#add-helm-chart)
- [Update Helm chart](#update-helm-chart)
- [Install / Update](#install--update)
- [backups](#backups)
### namespace
## Setup
### kubernetes Namespace
``` yaml
apiVersion: v1
@@ -17,19 +24,34 @@ metadata:
name: cloud-limbosolutions-com
```
### helm chart - nextcloud
### Add helm chart
``` bash
helm repo add nextcloud https://nextcloud.github.io/helm/
```
### Update Helm chart
```bash
helm repo update
```
Install/Upgrade Helm Chart
### Install / Update
``` bash
./nexcloud/helm-up.sh
helm upgrade --install nextcloud nextcloud/nextcloud \
--values ./nextcloud/values.yaml \
--values ./nextcloud/values.local.yaml \
--namespace=cloud-limbosolutions-com
```
## backup
## backups
``` bash
set -a
source ./jobs/backup/.env
set +a
envsubst < ./jobs/backup/secret.yaml | kubectl apply -f -
kubectl apply -f ./jobs/backup/backup-cronjob.yaml
```
[kubernets cron job](./jobs/backup)