Skip to content

podmortem/common-lib

Repository files navigation

common-lib

A Quarkus-based common library providing shared models and interfaces for the Podmortem system.

Overview

This library contains the core data models, interfaces, and Kubernetes Custom Resource Definitions (CRDs) used across all Podmortem components. It provides a unified foundation for pod failure analysis, AI provider integration, and pattern library management.

Key Components

  • Provider Models - Common interfaces and data models for AI provider integration
  • Analysis Models - Data structures for log analysis results and failure pattern matching
  • Pattern Models - Definitions for failure patterns, remediation steps, and pattern libraries
  • Kubernetes CRDs - Custom Resource Definitions for AI providers, pattern libraries, and pod monitoring

Kubernetes Resources

  • AIProvider - Configuration for AI services (OpenAI, Ollama, etc.)
  • PatternLibrary - Management of failure pattern repositories
  • Podmortem - Pod failure monitoring and analysis configuration

Usage

This library is consumed as a dependency by other Podmortem components:

  • ai-interface - Uses provider models and analysis interfaces
  • log-parser - Uses analysis and pattern models for log processing
  • operator - Uses all CRD models for Kubernetes resource management

Building

./mvnw package

For native compilation:

./mvnw package -Dnative

About

A common library for the Quarkus components of podmortem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 2

  •  
  •  

Languages