Files
infrastructure/README.md
2026-02-09 21:51:46 -08:00

1.9 KiB

Infrastructure Monorepo

Purpose: Consolidated infrastructure as code for all projects Status: 🚧 Structure Complete - Ready for Consolidation


Overview

This directory contains all infrastructure as code, organized for easy management and deployment.


Structure

infrastructure/
├── terraform/          # Terraform modules and configurations
│   ├── modules/        # Shared Terraform modules
│   └── examples/       # Example configurations
├── kubernetes/         # Kubernetes configurations
│   ├── shared-cluster/ # Shared cluster setup
│   └── dev-staging/    # Dev/staging cluster configs
├── monitoring/         # Monitoring stack
│   ├── prometheus/     # Prometheus/Grafana
│   ├── loki/          # Loki logging
│   └── alerts/        # Alerting rules
├── api-gateway/       # API Gateway (Kong)
├── event-bus/         # Event bus (NATS)
├── identity/          # Identity provider (Keycloak)
└── data-storage/      # Data storage (MinIO)

Terraform Modules

Azure Modules

  • azure/networking - Virtual networks and subnets
  • azure/keyvault - Key Vault
  • azure/storage - Storage accounts

Kubernetes Modules

  • kubernetes/namespace - Namespace with quotas

Deployment

Monitoring

cd monitoring/prometheus && ./install.sh
cd monitoring/loki && ./install.sh

API Gateway

cd api-gateway/kong && ./install.sh

Event Bus

cd event-bus/nats && ./install.sh

Identity

kubectl apply -f identity/keycloak/k8s-deployment.yaml

Data Storage

kubectl apply -f data-storage/minio/k8s-deployment.yaml

Documentation


Status: 🚧 Structure Complete - Ready for Project Consolidation