chore: add nocodb and pgcat k8s manifests
This commit is contained in:
38
pgcat/deployment.yaml
Normal file
38
pgcat/deployment.yaml
Normal file
@@ -0,0 +1,38 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: pgcat
|
||||
name: pgcat
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: pgcat
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: pgcat
|
||||
spec:
|
||||
containers:
|
||||
- image: ghcr.io/postgresml/pgcat:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: pgcat
|
||||
ports:
|
||||
- containerPort: 6432
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 256Mi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 64Mi
|
||||
volumeMounts:
|
||||
- mountPath: /etc/pgcat/pgcat.toml
|
||||
name: config
|
||||
subPath: pgcat.toml
|
||||
volumes:
|
||||
- configMap:
|
||||
name: pgcat-config
|
||||
name: config
|
||||
Reference in New Issue
Block a user