Knowledge Base updated: 2026-11-03
Sofka knowledge base
Sofka is an interactive terminal application for exploring and operating Kubernetes environments, with integrations for plugins, fleet/GitOps workflows, and diagnostic artifacts.
Its main parts are the terminal application and rendering layer, Kubernetes discovery and resource access, configuration and command-line support, plugins, operational analysis tools, and persistence/diagnostics facilities.
Critical user-facing state includes kubeconfig-derived connection context, persisted preferences, snapshots and bundles, plugin catalog/install data, and sanitized diagnostic output.
flowchart TD
CLI[Command line] --> APP[Terminal application]
CFG[Configuration] --> APP
APP --> UI[Rendering and input]
APP --> NAV[Event loop and navigation]
APP --> KUBE[Kubernetes integration]
KUBE --> DISC[Discovery and auth]
KUBE --> RES[Resource tables and proxy]
APP --> PLUG[Plugin ecosystem]
APP --> OPS[Cluster operations]
OPS --> GITOPS[Fleet and GitOps]
APP --> ART[Persistence and support artifacts]
ART --> SNAP[State and snapshots]
ART --> DIAG[Diagnostics and protection]
Routing table
cmd/**,internal/app/**-> docs/interactive-terminal-application.mdinternal/app/**,internal/ui/navigation/**,internal/ui/overlay/**-> docs/application-event-loop-and-navigation.mdinternal/ui/**,internal/terminal/**,pkg/ui/**-> docs/terminal-rendering-and-input.mdinternal/kubernetes/**,pkg/kubernetes/**-> docs/kubernetes-data-integration.mdinternal/kubernetes/config/**,internal/kubernetes/discovery/**,internal/kubernetes/auth/**-> docs/kubeconfig-discovery-and-authentication.mdinternal/kubernetes/resources/**,internal/kubernetes/proxy/**,pkg/table/**-> docs/resource-tables-and-api-proxy.mdcmd/**,internal/config/**-> docs/configuration-and-command-line.mdinternal/config/**,pkg/config/**-> docs/configuration-documents-and-migrations.mdcmd/**,internal/completion/**-> docs/shell-completion.mdinternal/plugin/**,pkg/plugin/**-> docs/plugin-ecosystem.mdinternal/plugin/catalog/**,internal/plugin/install/**,cmd/plugin/**-> docs/plugin-catalog-and-installation.mdinternal/plugin/runtime/**,internal/plugin/adapter/**,examples/**-> docs/plugin-runtime-and-adapters.mdinternal/operations/**,internal/analysis/**-> docs/cluster-operations-and-analysis.mdinternal/operations/workload/**,internal/analysis/**,internal/resources/**-> docs/workload-operations-and-analysis-tools.mdinternal/fleet/**,internal/gitops/**,internal/argocd/**-> docs/fleet-gitops-and-argocd-integration.mdinternal/state/**,internal/snapshot/**,internal/bundle/**-> docs/persistence-and-support-artifacts.mdinternal/state/**,internal/snapshot/**,internal/bundle/**-> docs/state-snapshots-and-bundles.mdinternal/diagnostics/**,internal/logging/**,internal/security/**-> docs/diagnostics-logging-and-data-protection.md