kraken Agent Skills & AI Rules

GitHub

P2P Docker registry capable of distributing TBs of data in seconds

RAW Rules
2 Discovered Rules β€’ ~1,959 Estimated Tokens
Quick:
Loading skill content...

docs - System Architecture & Module Boundaries

docs/ARCHITECTURE.md project-spec ~205 tokens
Raw
# Kraken Core

Central P2P components that's not specific to docker images:

![](../assets/kraken_core.svg)

## Agent
  - Deployed on every host
  - Implements Docker registry interface

## Origin
  - Dedicated seeders
  - Pluggable storage backend (e.g. S3)
  - Self-healing hash ring

## Tracker
  - Tracks peers and seeders, instructs them to form a sparse graph
  - Self-healing hash ring

# Kraken Proxy and Build Index

Components responsible for image tags and replication to other clusters:

![](../assets/kraken_build_index.svg)

## Proxy
  - Handles image upload and direct download

## Build Index
  - Mapping of human readable tag to blob hash (digest)
  - No consistency guarantees, client should use unique tags
  - Powers image replication between clusters. Simple duplicated queues with retry
  - Pluggable storage
  - Self-healing hash ring