This PR introduces a complete PostgreSQL deployment infrastructure using Kubernetes StatefulSets and Kustomize for environment-specific configurations.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
PostgreSQL Kubernetes Deployment with Kustomize
Summary
This PR introduces a complete PostgreSQL deployment infrastructure using Kubernetes StatefulSets and Kustomize for environment-specific configurations.
Changes
Infrastructure Structure
infra/k8s/base/- Shared resources (StatefulSet, Service, PVC, Namespace)infra/k8s/staging/- Staging environment overlay withstaging-prefixinfra/k8s/production/- Production environment overlay withproduction-prefixKey Files
infra/k8s/base/kustomization.yaml- Base resources definitioninfra/k8s/staging/kustomization.yaml- Staging environment overlayinfra/k8s/production/kustomization.yaml- Production environment overlayinfra/k8s/README.md- Deployment documentationDeployment Commands
Resource Naming
staging-production-postgresnamespaceSecrets Required
postgres-secretswithusernameandpasswordkeysTesting
Deployed to staging cluster successfully. Resource naming verified with proper prefixes applied.
Related Issues