Skip to content

octokube/cluster-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Octokube Cluster Agent

Lightweight in-cluster Kubernetes observer that maintains a materialized cluster state and streams ordered, versioned resource events to the Octokube backend.

Architecture Overview

The system consists of three main components:

  1. Agent (running inside the cluster)
  2. Backend (central service)
  3. Client (frontend connected via socket)

Separation of Responsibilities

Agent

  • Watches the cluster via Kubernetes watch
  • Maintains hot state materialized in memory
  • Linearizes events
  • Generates global versioning per cluster
  • Provides full-state snapshots on demand

Backend

  • Manages socket connections
  • Applies per-user authorization rules
  • Filters events and snapshots
  • Multiplexes responses
  • Does not generate versions

Client

  • Applies incremental deltas
  • Detects version gaps
  • Requests re-sync when necessary
  • Treats snapshots as authoritative state

Installation

  1. Clone the repository
  2. Run make build to build the agent
  3. Deploy using the manifests in config/

Usage

Run the agent with appropriate configuration flags.

About

Lightweight in-cluster Kubernetes observer that maintains a materialized cluster state and streams ordered, versioned resource events to the Octokube backend.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors