How devsecopsmaturitymodel/metricca works
Main Components
• Data Collection Modules:
• Collector (e.g., “collector-confluence”) that fetches data from external platforms (e.g., Confluence, and potentially Jira/GitHub as mentioned).
• Data Processing Module:
• Metric Analyzer that processes the collected data.
• Data Visualization Module:
• Kubernetes Infrastructure:
• Since the deployment is managed via Kubernetes (using kustomizations for base and overlay configurations), include a block representing the Kubernetes Cluster.
• Additional Elements:
• External Services: Indicate external data sources or APIs (e.g., Confluence, GitHub, Jira).
• Secrets Management: Represent the mechanism of configuration and secrets that are applied from the “overlay/secrets” directory.
• Persistent Volumes: Note the use of PVCs (e.g., there’s a PVC configuration for Grafana) for storage.
Relationships and Interactions
• That all these components (collector-confluence, metric-analyzer, grafana) are deployed and managed within a Kubernetes cluster.
• Configuration management and secrets injection from the Kubernetes overlay layer, showing how these secure aspects feed into the respective services.
Architectural Patterns and Design Principles
• Microservices Architecture: The separation into discrete components (collector, analyzer, visualization), each packaged and deployed as a Kubernetes service.
• Kubernetes-based Deployment: Emphasize that components are containerized and orchestrated via Kubernetes, which provides scalability and reliability.
• YAML-driven Configuration: The design leverages YAML manifests, kustomizations, and overlays for managing different deployment aspects (base configurations, PVC, secrets, etc.). Acknowledge that this allows non-technical modifications (e.g., by product owners or security teams).
Relevant Technologies & Frameworks
• Kubernetes: For orchestration and service management.
• Kustomize: As evidenced by the “kustomizations” directories, used for managing configurations.
• Grafana: For data visualization.
• Custom Services: Such as collector-confluence and metric-analyzer for data ingestion and processing.