You are viewing documentation for Cozystack next, which is currently in beta. For the latest stable version, see the v1.3 documentation.

Cozystack Platform Stack

All open-source components in the Cozystack platform stack: networking, storage, observability, databases, and managed services with licenses and technical descriptions.

Cozystack is composed entirely of open-source components, layered from the operating system up to user-facing managed services. This page describes each component, its role in the platform, and its upstream license.

Overview

Cozystack Architecture Layers

Components are organized by their role in the platform stack. Cozystack-maintained charts, CRDs, controllers, and application APIs are licensed under Apache-2.0 and are not listed individually below.

Operating system and Kubernetes runtime

Immutable Linux distribution built for Kubernetes nodes. Removes shell, SSH, and mutable filesystem layers to minimize the attack surface.

MPL-2.0

Container orchestration platform managing all Cozystack workloads. Both the management cluster and tenant clusters run on Kubernetes.

Apache-2.0

Cluster provisioning and virtualization

Deploys tenant Kubernetes control planes as pods in the management cluster. Enables multi-tenancy without dedicated control-plane VMs.

Apache-2.0

Declarative cluster lifecycle management via Kamaji and KubeVirt providers. Enables consistent, reproducible tenant cluster provisioning and upgrades.

Apache-2.0

Virtual machine management as native Kubernetes workloads. Powers Cozystack's VM service and tenant cluster worker nodes via CDI disk management.

Apache-2.0

Networking

eBPF-based CNI for pod networking and NetworkPolicy enforcement. Works alongside Kube-OVN for high-throughput, low-latency packet processing.

Apache-2.0

OVN-based virtual networking providing VPC isolation, floating IPs, and tenant network segmentation. Built on Open vSwitch technology.

Apache-2.0

Meta-CNI enabling pods to attach multiple network interfaces simultaneously. Used to connect KubeVirt VMs to secondary physical or VLAN-backed interfaces.

Apache-2.0

Bare-metal load balancer assigning external IPs to Kubernetes Services via ARP/NDP or BGP. Default load balancer for all platform and tenant services.

Apache-2.0

NGINX-based ingress controller for HTTP/HTTPS routing with TLS termination. Deployed as the default ingress controller across management and tenant clusters.

Apache-2.0

Standard Kubernetes Gateway API CRDs for role-oriented L4/L7 routing. Enables modern traffic management with compatible gateway controllers.

Apache-2.0

Cluster DNS server for service discovery and internal name resolution. Resolves cluster.local service names for all pod-to-service lookups.

Apache-2.0

Syncs Kubernetes Service and Ingress resources to external DNS providers automatically. Eliminates manual DNS record management for platform and tenant endpoints.

Apache-2.0

WireGuard-based mesh networking for clusters spanning multiple geographic locations. Creates encrypted tunnels for seamless cross-site pod-to-pod communication.

Apache-2.0

Load balancer controller for Hetzner dedicated hardware via the Robot API. Enables LoadBalancer-type Services on Hetzner bare-metal without Hetzner Cloud.

MIT

Storage and backup

DRBD-based replicated block storage managed by LINSTOR. Provisions persistent volumes with synchronous replication for VM disks and databases.

GPL-3.0; Apache-2.0

Distributed object storage backing the managed Bucket service. S3-compatible with O(1) disk read performance and no clustered filesystem dependency.

Apache-2.0

Backup and restore for Kubernetes clusters and persistent volumes. Stores backups in S3-compatible object storage for off-cluster retention.

Apache-2.0

CSI driver for mounting NFS shares as persistent volumes. Supports ReadWriteMany access mode required for multi-pod shared storage scenarios.

Apache-2.0

Manages the VolumeSnapshot lifecycle across all CSI drivers. Provides a consistent API for point-in-time storage snapshots and clone workflows.

Apache-2.0

Kubernetes-native API for provisioning S3-compatible object storage buckets. Used to provision SeaweedFS buckets for the managed Bucket service.

Apache-2.0

Lightweight web UI for S3-compatible object storage. Bundled with the managed Bucket service for bucket browsing and file management.

Apache-2.0

GitOps and platform automation

GitOps engine reconciling cluster state from Helm releases and Kustomizations. ControlPlane Flux Operator is AGPL-3.0; upstream controllers are Apache-2.0.

Apache-2.0; AGPL-3.0

Manages dedicated etcd clusters for tenant Kubernetes control planes. Handles member lifecycle, scaling, and backup-restore as Kubernetes reconciliation loops.

Apache-2.0

Automates TLS certificate issuance, renewal, and rotation. Integrates with ACME, internal PKI (OpenBao), and self-signed issuers.

Apache-2.0

Syncs secrets from external KMS (Vault, OpenBao, AWS, GCP) into Kubernetes Secrets. Enables GitOps secret management without storing values in Git.

Apache-2.0

Replicates Kubernetes Secrets across namespaces, keeping copies in sync. Used to propagate platform-level credentials to tenant namespaces.

Apache-2.0

Triggers rolling restarts when ConfigMaps or Secrets change. Ensures Deployments and StatefulSets pick up configuration updates without manual intervention.

Apache-2.0

iPXE boot and DHCP server for bare-metal node provisioning. Serves boot scripts enabling automated Talos Linux deployment on physical hardware.

Apache-2.0

Proxies traffic between a local dev machine and a remote Kubernetes cluster. Enables local debugging while accessing live remote cluster services.

Apache-2.0

Observability

Prometheus-compatible metrics storage and query engine. More memory-efficient than Prometheus at scale; exposes a PromQL-compatible API for Grafana.

Apache-2.0

Manages Grafana instances, dashboards, and data sources as Kubernetes CRDs. Provides a unified observability UI for platform operators and tenants.

Apache-2.0

Lightweight log forwarder running as a DaemonSet on every node. Collects platform and tenant workload logs with minimal CPU and memory overhead.

Apache-2.0

Generates Prometheus-format metrics about Kubernetes object state (deployments, pods, nodes, PVCs). Feeds cluster health data into VictoriaMetrics.

Apache-2.0

Exports system and hardware metrics (CPU, memory, disk, network) from each node as a DaemonSet. Feeds host telemetry into VictoriaMetrics.

Apache-2.0

CRDs for ServiceMonitor, PodMonitor, and PrometheusRule resources consumed by VictoriaMetrics. Provides a vendor-neutral monitoring target API.

Apache-2.0

Provides the Resource Metrics API for HPA and kubectl top. Aggregates kubelet-reported CPU and memory usage across cluster nodes.

Apache-2.0

Pod-to-pod connectivity checker deployed as a DaemonSet. Surfaces node-to-node network partition failures with metrics and a real-time visualization UI.

Apache-2.0

Autoscaling and resource management

Automatically right-sizes CPU and memory requests for pods based on observed usage. Eliminates manual resource tuning for platform and tenant workloads (chart: MIT).

Apache-2.0

Scales node pools based on pending pods or underutilized nodes. Enables cost-efficient elastic scaling of tenant Kubernetes clusters.

Apache-2.0

GPU and accelerators

Manages the full lifecycle of NVIDIA GPU drivers, device plugins, and runtimes on Kubernetes nodes. Enables AI/ML and LLM inference workloads without per-node manual setup.

Apache-2.0

GPU sharing and fractional scheduling for Kubernetes. Allows multiple workloads to share a single GPU, maximizing utilization for LLM inference platforms.

Apache-2.0

Identity, registry, and secrets

OIDC and SAML identity provider for platform SSO. Secures the platform API, Grafana, Harbor, and tenant services with role-based access control.

Apache-2.0

CNCF-graduated OCI registry for container images and Helm charts. Provides RBAC, vulnerability scanning, content trust signing, and registry replication.

Apache-2.0

Open-source Vault fork for dynamic secrets, PKI management, and encrypted secret storage. Supports Kubernetes and OIDC authentication backends.

MPL-2.0

Managed database runtimes

Replicated relational database managed via CloudNativePG. Features automated failover, Barman-based backup scheduling, and connection pooling.

PostgreSQL License

MySQL-compatible replicated database managed via mariadb-operator. Supports Galera multi-primary replication and Restic-based backup scheduling.

GPL-2.0

Document-oriented NoSQL database deployed via Percona Operator. Supports replica sets, sharded clusters, and automated Percona backup.

SSPL-1.0

Column-oriented DBMS optimized for real-time analytics. Deployed via Altinity ClickHouse Operator with multi-shard distributed clusters.

Apache-2.0

Search and analytics engine managed via opensearch-k8s-operator. Full-text search, log aggregation, and Elasticsearch-compatible query API.

Apache-2.0

High-performance vector database for similarity search and AI workloads. Supports dense and sparse vector embeddings for recommendation and semantic search.

Apache-2.0

Distributed database with strong ACID guarantees across the cluster, managed via FoundationDB Kubernetes Operator. Designed for extreme reliability at scale.

Apache-2.0

In-memory key-value store deployed as a replicated Sentinel cluster via Spotahome Redis Operator. Supports Redis 7.4 and Redis 8 for caching and pub/sub.

RSALv2 or SSPLv1 (7.x) / AGPLv3 (8.x)

Managed messaging and caching runtimes

Distributed event streaming platform managed via Strimzi Kafka Operator. Multi-broker clusters with configurable replication for event-driven architectures.

Apache-2.0

Lightweight pub-sub and request-reply messaging deployed via the official Helm chart. Low-latency, minimal-overhead messaging for microservices and IoT.

Apache-2.0

AMQP message broker managed via RabbitMQ Cluster Operator. Highly available clusters with quorum queues and fanout, topic, and direct exchange routing.

MPL-2.0; Apache-2.0 for some files

Managed networking services

Powers the managed HTTP Cache service with reverse-proxy caching and GeoIP filtering. Scales horizontally without a shared filesystem.

BSD-2-Clause

Enterprise TCP/HTTP load balancer powering the managed TCP Balancer and HTTP Cache. Provides active health checks and high-throughput connection handling.

GPL-2.0 with exceptions

GeoIP modules (IP2Location and IP2Proxy) bundled into the HTTP Cache. Enables country-based traffic filtering and proxy/VPN detection.

MIT

Shadowsocks-based VPN backend developed by Google's Jigsaw team. Manages Shadowsocks instances with symmetric encryption to resist DPI traffic analysis.

Apache-2.0