How abdelkderboukert/cloud-native-resilient-blueprint works
EEMP is a Kubernetes reference platform combining a Django REST API with stateful data and messaging services, edge policy, and GitOps deployment. The main user flow is HTTP through Kong to Django’s article or user APIs; article reads use Valkey, while API mutations persist through the database and publish lifecycle events to Kafka. The README documents platform services and deployment capabilities; source excerpts show API handlers, serializers, models, health checks, and event publishing. Infrastructure links rely on README descriptions and manifests, not inspected implementation details.
Main entry points: articles/views.py Article API · kafka_producer.py Kafka event publisher · urls.py Django API routes · users/views.py User API
Components 19
Edge and routing
- Kong gateway
deploy/helm/enterprise-platform/templates/04-edge-routing/kong-ingress-config.yaml
API application
- Django API routes
src/django-enterprise-api/enterprise_platform/urls.py - Article API
src/django-enterprise-api/apps/articles/views.py - Article serializer
src/django-enterprise-api/apps/articles/serializers.py - Article model
src/django-enterprise-api/apps/articles/models.py - User API
src/django-enterprise-api/apps/users/views.py - User serializers
src/django-enterprise-api/apps/users/serializers.py - User profile model
src/django-enterprise-api/apps/users/models.py - Request correlation
src/django-enterprise-api/apps/core/middleware.py - Health and metrics
src/django-enterprise-api/apps/core/health.py
Data services
- Valkey cache
deploy/helm/enterprise-platform/templates/03-app-tier/cache.yaml - PostgreSQL cluster
deploy/helm/enterprise-platform/templates/01-data-tier/cnpg-cluster.yaml - RustFS object storage
deploy/helm/enterprise-platform/templates/01-data-tier/rustfs.yaml - Longhorn storage
deploy/helm/enterprise-platform/templates/00-infrastructure/storageclass.yaml
Messaging
- Kafka event publisher
src/django-enterprise-api/apps/core/kafka_producer.py - Kafka broker
deploy/helm/enterprise-platform/templates/02-messaging-tier/kafka.yaml
Platform operations
- Argo CD
deploy/helm/enterprise-platform/gitops/application.yaml - Helm platform chart
deploy/helm/enterprise-platform/Chart.yaml
Other components
- External client
Connections 22
- External client → Kong gateway: sends HTTP
README.md - Kong gateway → Django API routes: proxies requests
README.md - Django API routes → Article API: routes articles
src/django-enterprise-api/enterprise_platform/urls.py - Django API routes → User API: routes users
src/django-enterprise-api/enterprise_platform/urls.py - Django API routes → Health and metrics: routes probes
src/django-enterprise-api/enterprise_platform/urls.py - Article API → Article serializer: serializes data
src/django-enterprise-api/apps/articles/views.py - Article API → Article model: queries and mutates
src/django-enterprise-api/apps/articles/views.py - Article API → Valkey cache: caches reads
README.md - Article API → PostgreSQL cluster: reads and writes
README.md - Article API → Kafka event publisher: publishes lifecycle events
src/django-enterprise-api/apps/articles/views.py - User API → User serializers: serializes users
src/django-enterprise-api/apps/users/views.py - User API → User profile model: queries and mutates
src/django-enterprise-api/apps/users/views.py - User API → Kafka event publisher: publishes lifecycle events
src/django-enterprise-api/apps/users/views.py - Kafka event publisher → Kafka broker: sends events
README.md - Kafka event publisher → Request correlation: gets request ID
src/django-enterprise-api/apps/core/kafka_producer.py - Health and metrics → PostgreSQL cluster: checks readiness
src/django-enterprise-api/apps/core/health.py - Health and metrics → Kafka event publisher: checks broker
src/django-enterprise-api/apps/core/health.py - PostgreSQL cluster → RustFS object storage: archives WAL
README.md - PostgreSQL cluster → Longhorn storage: uses block storage
README.md - Kafka broker → Longhorn storage: uses block storage
README.md - RustFS object storage → Longhorn storage: uses block storage
README.md - Argo CD → Helm platform chart: deploys chart
README.md