add nextcloud and collabora manifests
All checks were successful
Validate Kubernetes Manifests / kubeconform (pull_request) Successful in 21s
All checks were successful
Validate Kubernetes Manifests / kubeconform (pull_request) Successful in 21s
This commit is contained in:
51
clusters/ipv6/tools/nextcloud/nextcloud.yml
Normal file
51
clusters/ipv6/tools/nextcloud/nextcloud.yml
Normal file
@@ -0,0 +1,51 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: nextcloud
|
||||
namespace: tools
|
||||
spec:
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
app: nextcloud
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nextcloud
|
||||
spec:
|
||||
containers:
|
||||
- name: nextcloud
|
||||
image: lscr.io/linuxserver/nextcloud:32.0.3
|
||||
readinessProbe:
|
||||
exec:
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
- nc -z nextcloud-db.tools.svc.cluster.local 3306
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 5
|
||||
failureThreshold: 3
|
||||
ports:
|
||||
- containerPort: 443
|
||||
env:
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: TZ
|
||||
value: "Asia/Kolkata"
|
||||
volumeMounts:
|
||||
- name: nextcloud-data
|
||||
mountPath: /data
|
||||
- name: nextcloud-config
|
||||
mountPath: /config
|
||||
volumes:
|
||||
- name: nextcloud-data
|
||||
nfs:
|
||||
path: /home/akshun/nextcloud-data
|
||||
server: 192.168.1.151
|
||||
- name: nextcloud-config
|
||||
persistentVolumeClaim:
|
||||
claimName: nextcloud-longhorn
|
||||
Reference in New Issue
Block a user