diff --git a/pgcat/deployment.yaml b/pgcat/deployment.yaml new file mode 100644 index 0000000..df80dd8 --- /dev/null +++ b/pgcat/deployment.yaml @@ -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