- Database deployment script (scripts/deploy-database.sh) - Kubernetes manifests for CNPG PostgreSQL cluster (k8s/base/) - Documentation (docs/DEPLOYMENT_GUIDE.md, DATASTORE_SPEC.md, INTEGRATION_SPEC.md) - README with architecture overview and operations guide
62 lines
1.3 KiB
YAML
62 lines
1.3 KiB
YAML
# Copyright 2026 Umbra Tools (umbratools.com)
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
namespace: umbratrans
|
|
|
|
resources:
|
|
- 00-namespace.yaml
|
|
- 01-postgresql.yaml
|
|
- 02-nfs-storage.yaml
|
|
- 03-web-deployment.yaml
|
|
- 04-worker-deployments.yaml
|
|
- 05-ingress-network.yaml
|
|
- 06-import-job.yaml
|
|
- 07-monitoring-secrets.yaml
|
|
|
|
commonLabels:
|
|
app.kubernetes.io/name: umbratrans
|
|
app.kubernetes.io/part-of: umbratrans
|
|
app.kubernetes.io/managed-by: kustomize
|
|
|
|
images:
|
|
- name: umbratrans-web
|
|
newTag: latest
|
|
- name: umbratrans-worker
|
|
newTag: latest
|
|
|
|
# Patches for different environments
|
|
patches:
|
|
- patch: |-
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: umbratrans-web
|
|
spec:
|
|
replicas: 1
|
|
target:
|
|
kind: Deployment
|
|
name: umbratrans-web
|
|
- patch: |-
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: umbratrans-worker-translation
|
|
spec:
|
|
replicas: 1
|
|
target:
|
|
kind: Deployment
|
|
name: umbratrans-worker-translation
|
|
- patch: |-
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: umbratrans-worker-audio
|
|
spec:
|
|
replicas: 0
|
|
target:
|
|
kind: Deployment
|
|
name: umbratrans-worker-audio
|