Complete API Management Platform with developer portal, access workflows, and integrated gateway - replacing Backstage while preserving infrastructure investments.
- π Developer Portal: Self-service API discovery and access requests
- β‘ High-Performance Gateway: APISIX-powered API runtime with policies
- π Enterprise Security: Vault-managed secrets with Kubernetes RBAC
- π Service Discovery: Automatic API catalog from Kubernetes annotations
- ποΈ Distributed Database: YugabyteDB for high availability and scalability
External Traffic β APISIX Gateway β Gravitee Services β YugabyteDB
β
Portal Routes:
/portal/* β Developer Portal UI
/management/* β Admin API
/gateway/* β Runtime API Gateway
k8s-api-gateway/
βββ π Deployment
β βββ manifests/
β β βββ api-gateway-gravitee.yaml # π Complete Gravitee platform (1,429 lines)
β β βββ api-gateway.yaml # Original mixed Backstage/Gravitee
β βββ gravitee-deployments.yaml # Standalone Gravitee components
β
βββ π¨ Build System
β βββ build-gravitee-images.sh # π Docker build automation
β βββ src/
β βββ Dockerfile.gravitee # π Multi-stage Gravitee builds
β βββ Dockerfile.backstage # Original Backstage build
β βββ gravitee-config/ # π Configuration templates
β βββ management-api/gravitee.yml
β βββ gateway/gravitee.yml
β βββ portal/constants.json
β
βββ π Documentation
β βββ README.md # This file
β βββ ARCHITECTURE.md # π System architecture details
β βββ GRAVITEE_SETUP.md # π Technical setup guide
β βββ GRAVITEE_DEPLOYMENT_GUIDE.md # π Step-by-step deployment
β βββ MIGRATION_COMPLETE.md # π Migration summary
β
βββ π§ Utilities
βββ verify-migration.sh # π Deployment verification script
./verify-migration.sh./build-gravitee-images.shkubectl apply -f manifests/api-gateway-gravitee.yamlkubectl get pods -n k8s-api-gateway -w# Get APISIX endpoint
kubectl get svc -n k8s-api-gateway apisix
# Access Gravitee Portal
open http://<apisix-host>/portal/| Component | Port | Purpose | Replicas |
|---|---|---|---|
| Gravitee Portal | 8080 | Developer portal UI | 1 |
| Management API | 8083 | Admin backend | 1 |
| Gravitee Gateway | 8082 | API runtime engine | 2 |
| APISIX Gateway | 9080/9443 | Traffic routing | 2 |
| APISIX Admin | 9180 | Gateway config | - |
| etcd | 2379 | APISIX storage | 1 |
- π Vault Integration: All secrets managed by HashiCorp Vault
- π€ RBAC: Kubernetes role-based access control
- π‘οΈ Service Accounts: Dedicated permissions per component
- π JWT Authentication: Token-based portal access
- π CORS Support: Cross-origin resource sharing
- π Audit Trail: Complete API access logging
Add annotations to your Kubernetes services for automatic API catalog population:
metadata:
annotations:
gravitee.io/definition-context-path: "/api/v1/my-service"
gravitee.io/definition-summary: "My Service API"
gravitee.io/definition-description: "Detailed service description"
gravitee.io/definition-version: "1.0.0"
gravitee.io/definition-groups: "internal,public"- Simpler: No complex plugin ecosystem
- Faster: Purpose-built for API management
- Reliable: No pg-native compatibility issues
- Feature-Rich: Native API portal capabilities
- YugabyteDB: Same distributed database (new schema)
- HashiCorp Vault: Identical secrets management
- Kubernetes RBAC: Same security model
- Docker: Same build patterns and registry
# Check all services
kubectl get pods -n k8s-api-gateway
# Verify setup jobs completed
kubectl get jobs -n k8s-api-gateway
# Test portal access
curl http://<apisix-host>/portal/# Gravitee services
kubectl logs -n k8s-api-gateway deployment/gravitee-management-api
kubectl logs -n k8s-api-gateway deployment/gravitee-gateway
kubectl logs -n k8s-api-gateway deployment/gravitee-portal
# APISIX gateway
kubectl logs -n k8s-api-gateway deployment/apisix
# Database setup
kubectl logs -n k8s-api-gateway job/setup-yugabyte-gravitee-db# Scale Gravitee Gateway for higher throughput
kubectl scale -n k8s-api-gateway deployment/gravitee-gateway --replicas=3
# Scale APISIX for more concurrent connections
kubectl scale -n k8s-api-gateway deployment/apisix --replicas=3- π¨ Customize Portal: Brand the developer portal for your organization
- π Configure Workflows: Set up API access approval processes
- π Add APIs: Annotate services for automatic discovery
- π Enable Monitoring: Add observability and metrics collection
- π Enhance Security: Implement additional authentication providers
- π ARCHITECTURE.md - Detailed system architecture
- π GRAVITEE_DEPLOYMENT_GUIDE.md - Complete deployment guide
- π§ GRAVITEE_SETUP.md - Technical configuration details
- β MIGRATION_COMPLETE.md - Migration summary and status
Successfully migrated from Backstage to Gravitee.io while preserving all infrastructure investments and enhancing API management capabilities. The platform is ready for production deployment with comprehensive documentation and automation.
Ready to deploy? See GRAVITEE_DEPLOYMENT_GUIDE.md for step-by-step instructions.