How percona/everest works
High-Level Architecture Components
a. Core Components:
• Frontend Layer (UI) - React-based web interface
• Backend Layer (API Server)
• Database Management Layer
• Kubernetes Integration Layer
• Authentication & Authorization Layer (RBAC)
b. External Components:
• Kubernetes Cluster
• Database Operators (MongoDB, PostgreSQL, XtraDB)
• Backup Storage Systems
• Monitoring Systems
Component Relationships
a. Frontend to Backend:
• REST API communication between UI and API server
• WebSocket connections for real-time updates
• Authentication flow
b. Backend to Kubernetes:
• Kubernetes API interactions
• Operator management connections
• Resource provisioning flow
Detailed Component Breakdown
a. Frontend (from /ui/apps/everest):
• React Components
• State Management
• API Client Layer
• Authentication Module
b. Backend (from /cmd and /internal):
• API Server
• Database Engine Management
• Backup Management
• Monitoring System
• RBAC Controller
c. CLI Component (from /cmd/cli):
• Command Processor
• Kubernetes Client
• Configuration Manager
Data Flow Representation
• Kubernetes control operations (bold lines)
Security Layer
Highlight:
• RBAC implementation
• Authentication flow
• JWT token management
• TLS/SSL encryption
Specific Implementation Details
a. Database Operations:
• Flows for database creation
• Backup/restore operations
• Monitoring integration
• Resource scaling
b. Kubernetes Integration:
• Custom Resource Definitions (CRDs)
• Operator management
• Namespace handling
• Resource provisioning
Additional Elements
Include:
• Version information
• External service connections
• Scaling indicators
• Health check flows
Key Considerations:
Cloud-native aspects
• Kubernetes integration points
• Scalability features
• Container orchestration
Database management
• Different database engine support
• Backup and restore flows
• Monitoring and metrics
Security architecture
• Authentication flows
• Authorization checks
• RBAC implementation
Operational flows
• Database provisioning
• Backup management
• Monitoring setup
• Resource scaling