chore: add nocodb and pgcat k8s manifests
This commit is contained in:
33
nocodb/deployment.yaml
Normal file
33
nocodb/deployment.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: nocodb
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: nocodb
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nocodb
|
||||
spec:
|
||||
containers:
|
||||
- image: nocodb/nocodb:latest
|
||||
imagePullPolicy: Always
|
||||
name: nocodb
|
||||
env:
|
||||
- name: NC_DB
|
||||
value: pg://pgcat:6432?u=nocodb&p=nocodb&d=nocodb
|
||||
- name: NC_PUBLIC_URL
|
||||
value: https://nocodb.inouter.com
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
cpu: "1"
|
||||
memory: 512Mi
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 128Mi
|
||||
Reference in New Issue
Block a user