KubeArchive is a system that archives Kubernetes objects to permanent storage, which can then be retrieved through an API. This project was inspired by Tekton Results.
You can check the KubeArchive introduction and demos in:
- The lightning talk from DevConf.CZ 2024 (15 min)
- The presentation with Demo from DevConf.US 2024 (35 min)
Take a look to our docs in https://kubearchive.github.io/kubearchive
KubeArchive consists of the following components:
- Custom Resource Definition for
KubeArchiveConfig
- An operator that reconciles
KubeArchiveConfig
Custom Resources to create APIServerSource CRs and update thesink-filters
ConfigMap
- One or more APIServerSources that send cloud events to a sink
- A sink that receives the cloud events and write the resource information in a DB based on the filters of
sink-filters
ConfigMap
- A REST API server that facilitates the retrieval of the archived data
- A CLI that queries both the KubeArchive REST API and the k8s API to expose the resources
The user interacts with KubeArchive by:
- Configuring what to archive and when to archive it in through KubeArchiveConfig CR
- Querying the KubeArchive API to get archived resources
- Querying the archived and the cluster data through the CLI