file rename and linkage
This commit is contained in:
parent
9e75d16af1
commit
86686350e5
@ -1,7 +1,7 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: nextcloud-ingress
|
||||
name: nextcloud
|
||||
namespace: nextcloud
|
||||
spec:
|
||||
entryPoints:
|
||||
@ -12,5 +12,5 @@ spec:
|
||||
- match: Host(`newcloud.steffenillium.de`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: nextcloud-service
|
||||
- name: nextcloud
|
||||
port: 80
|
@ -6,8 +6,8 @@ namespace: nextcloud
|
||||
resources:
|
||||
- nextcloud.yaml
|
||||
# - nextcloud-app-pvc.yaml
|
||||
- nextcloud-app-service.yaml
|
||||
- service.yaml
|
||||
# - nextcloud-db-pvc
|
||||
- nextcloud-ingress.yaml
|
||||
- nextcloud-secret-sealed.yaml
|
||||
- nextcloud-namespace.yaml
|
||||
- ingress.yaml
|
||||
- secret-sealed.yaml
|
||||
- namespace.yaml
|
||||
|
@ -1,13 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
labels:
|
||||
app: nextcloud-app-pvc
|
||||
name: nextcloud-app-pvc
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 150Gi
|
||||
status: {}
|
@ -1,12 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
labels:
|
||||
app: nextcloud-db-pvc
|
||||
name: nextcloud-db-pvc
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
@ -2,23 +2,23 @@ apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: nextcloud-app
|
||||
name: nextcloud-app
|
||||
app: nextcloud
|
||||
name: nextcloud
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: nextcloud-app
|
||||
app: nextcloud
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nextcloud-app
|
||||
app: nextcloud
|
||||
spec:
|
||||
containers:
|
||||
- image: mariadb
|
||||
name: nextcloud-db
|
||||
name: mariadb
|
||||
args:
|
||||
- --transaction-isolation=READ-COMMITTED
|
||||
- --binlog-format=ROW
|
||||
@ -46,7 +46,8 @@ spec:
|
||||
cpu: "0.2"
|
||||
memory: "2Gi"
|
||||
ports:
|
||||
- containerPort: 3306
|
||||
- name: mariadb
|
||||
containerPort: 3306
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- mountPath: /var/lib/mysql
|
||||
@ -59,10 +60,11 @@ spec:
|
||||
cpu: "0.1"
|
||||
memory: "2Gi"
|
||||
ports:
|
||||
- containerPort: 6379
|
||||
- name: redis
|
||||
containerPort: 6379
|
||||
protocol: TCP
|
||||
- image: nextcloud
|
||||
name: nextcloud-app
|
||||
name: nextcloud
|
||||
env:
|
||||
- name: MYSQL_DATABASE
|
||||
value: nextcloud
|
||||
@ -82,7 +84,7 @@ spec:
|
||||
name: nextcloud-secret
|
||||
key: MYSQL_PASSWORD
|
||||
ports:
|
||||
- name: http
|
||||
- name: nextcloud
|
||||
containerPort: 80
|
||||
protocol: TCP
|
||||
resources: {}
|
||||
|
@ -1,11 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: nextcloud-service
|
||||
name: nextcloud
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: http
|
||||
targetPort: nextcloud
|
||||
selector:
|
||||
app: nextcloud-app
|
||||
app: nextcloud
|
Loading…
x
Reference in New Issue
Block a user