This repository has been archived on 2026-01-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ipv6-k3s/clusters/ipv6/tools/nextcloud/nextcloud.yml
aggarwalakshun 9097406ba2
All checks were successful
Validate Kubernetes Manifests / kubeconform (pull_request) Successful in 21s
add nextcloud and collabora manifests
2025-12-28 08:01:05 +05:30

52 lines
1.1 KiB
YAML

---
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