mirror of
https://github.com/immich-app/devtools.git
synced 2026-09-30 13:23:00 +08:00
chore: remove unused geocoding pipeline postgres instance (#1511)
This commit is contained in:
@@ -1,33 +0,0 @@
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Cluster
|
||||
metadata:
|
||||
name: geocoding-database
|
||||
namespace: geocoding
|
||||
spec:
|
||||
imageName: ghcr.io/cloudnative-pg/postgis:16
|
||||
enableSuperuserAccess: true
|
||||
superuserSecret:
|
||||
name: geocoding-database-superuser
|
||||
bootstrap:
|
||||
initdb:
|
||||
postInitTemplateSQL:
|
||||
- CREATE EXTENSION postgis;
|
||||
- CREATE EXTENSION postgis_topology;
|
||||
- CREATE EXTENSION fuzzystrmatch;
|
||||
- CREATE EXTENSION postgis_tiger_geocoder;
|
||||
postgresql:
|
||||
parameters:
|
||||
shared_buffers: "2GB"
|
||||
work_mem: "50MB"
|
||||
maintenance_work_mem: "10GB"
|
||||
autovacuum_work_mem: "2GB"
|
||||
effective_cache_size: "24GB"
|
||||
synchronous_commit: "off"
|
||||
checkpoint_timeout: "10min"
|
||||
max_wal_senders: "0"
|
||||
max_wal_size: "1GB"
|
||||
checkpoint_completion_target: "0.9"
|
||||
random_page_cost: "1.0"
|
||||
storage:
|
||||
size: 1250Gi
|
||||
storageClass: zfs
|
||||
@@ -1,7 +0,0 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: geocoding
|
||||
resources:
|
||||
- ./secret.yaml
|
||||
- ./database.yaml
|
||||
- ./service.yaml
|
||||
@@ -1,8 +0,0 @@
|
||||
apiVersion: onepassword.com/v1
|
||||
kind: OnePasswordItem
|
||||
metadata:
|
||||
name: geocoding-database-superuser
|
||||
namespace: geocoding
|
||||
type: kubernetes.io/basic-auth
|
||||
spec:
|
||||
itemPath: "vaults/Kubernetes/items/geocoding-database-superuser"
|
||||
@@ -1,14 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: geocoding-database-nodeport
|
||||
namespace: geocoding
|
||||
spec:
|
||||
type: NodePort
|
||||
selector:
|
||||
cnpg.io/cluster: geocoding-database
|
||||
role: primary
|
||||
ports:
|
||||
- port: 5432
|
||||
nodePort: 30636
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: geocoding-database
|
||||
namespace: flux-system
|
||||
spec:
|
||||
path: ./kubernetes/apps/pipelines/geocoding/database/app
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: immich-kubernetes
|
||||
dependsOn:
|
||||
- name: database-cloudnative-pg
|
||||
interval: 30m
|
||||
retryInterval: 1m
|
||||
timeout: 3m
|
||||
@@ -1,6 +0,0 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./namespace.yaml
|
||||
- ./database/ks.yaml
|
||||
@@ -1,5 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: geocoding
|
||||
|
||||
Reference in New Issue
Block a user