feat: hosting on k3s

This commit is contained in:
2025-03-08 09:22:08 +00:00
parent 2653e36e69
commit d72874c7ed
14 changed files with 353 additions and 101 deletions

1
nexcloud/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
**.local**.yaml

5
nexcloud/helm-up.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
helm upgrade --install nextcloud nextcloud/nextcloud \
--values ./values.yaml \
--values ./values.local.yaml \
--namespace=cloud-limbosolutions-com

73
nexcloud/values.yaml Normal file
View File

@@ -0,0 +1,73 @@
image:
repository: nextcloud
flavor: apache
tag:
pullPolicy: Always
replicaCount: 1
internalDatabase:
enabled: false
externalDatabase:
enabled: type
type: mysql
mariadb:
enabled: true
architecture: standalone
primary:
persistence:
enabled: true
existingClaim: ""
storageClass: ""
accessMode: ReadWriteOnce
size: 8Gi
service:
type: ClusterIP
port: 8080
loadBalancerIP: ""
nodePort:
persistence:
enabled: true
accessMode: ReadWriteOnce
size: 8Gi
nextcloudData:
enabled: true
subPath:
annotations: {}
accessMode: ReadWriteOnce
size: 8Gi
#limits:
# cpu: 100m
# memory: 128Mi
#requests:
# cpu: 100m
# memory: 128Mi
ingress:
enabled: true
className: traefik
annotations:
kubernetes.io/ingress.class: traefik
hosts:
- host: cloud.limbosolutions.com
paths:
- path: /
pathType: Prefix
tls:
- secretName: cloud-limbosolutions-com-secret-tls
hosts:
- "cloud.limbosolutions.com"