Add nocodb
This commit is contained in:
parent
463f1e9d9d
commit
5fd2726117
30
cluster/nocodb/nocodb-deployment.yaml
Normal file
30
cluster/nocodb/nocodb-deployment.yaml
Normal file
@ -0,0 +1,30 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: nocodb-deployment
|
||||
namespace: default
|
||||
labels:
|
||||
app: nocodb
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: nocodb
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nocodb
|
||||
spec:
|
||||
containers:
|
||||
- name: nocodb
|
||||
image: nocodb/nocodb:latest
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
volumeMounts:
|
||||
- name: noco-data
|
||||
mountPath: /usr/app/data
|
||||
volumes:
|
||||
- name: noco-data
|
||||
persistentVolumeClaim:
|
||||
claimName: noco-pvc
|
||||
|
15
cluster/nocodb/nocodb-pvc.yaml
Normal file
15
cluster/nocodb/nocodb-pvc.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: noco-pvc
|
||||
namespace: default
|
||||
labels:
|
||||
app: nocodb
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
storageClassName: longhorn
|
||||
|
15
cluster/nocodb/nocodb-service.yaml
Normal file
15
cluster/nocodb/nocodb-service.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: nocodb-service
|
||||
namespace: default
|
||||
labels:
|
||||
app: nocodb
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 8080
|
||||
selector:
|
||||
app: nocodb
|
||||
|
Loading…
Reference in New Issue
Block a user