unbounded

module
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2026 License: MIT

README

Unbounded Kubernetes

Unbounded Kubernetes

Run Kubernetes worker nodes anywhere — across clouds, on-prem, and at the edge — connected back to a single control plane.

Release CI License


Early Development — This project is under active development. It is suitable for experimentation and prototyping, but expect rough edges and breaking changes. Please report issues on the Issue Tracker.

What is Unbounded Kubernetes?

Kubernetes assumes all worker nodes share a network — a single VPC in the cloud or a flat LAN on-premises. That model breaks when you need compute in multiple locations: a second cloud region, GPU capacity from a specialized provider, on-prem hardware behind a NAT, or edge devices at remote sites.

Unbounded Kubernetes extends any conformant Kubernetes control plane so that worker nodes can run anywhere and join back to the cluster over encrypted tunnels. It provides multiple provisioning paths and a unified networking layer so that pods, services, and DNS work transparently across sites.

For a deeper dive, see the Project Overview.

Key Features

  • Multi-site networking — Transparent pod-to-pod connectivity across sites using WireGuard, GENEVE, VXLAN, IPIP, or direct routing with an eBPF or netlink dataplane.
  • SSH-based provisioning — Join existing Linux machines to the cluster over SSH with a single command.
  • Cloud API provisioning — Auto-provision instances from Nebius, CoreWeave, OCI, Azure, AWS, and others via Karpenter in response to unschedulable pods.
  • Bare-metal PXE boot — PXE-boot servers with integrated DHCP, TFTP, HTTP, Redfish BMC power management, and TPM 2.0 attestation.
  • Works with any conformant Kubernetes — AKS, EKS, GKE, kubeadm, k3s, and more. Bring your own cluster or use the quickstart script.
  • GPU support — Automatic detection and configuration of NVIDIA GPUs on provisioned nodes.

Components

Component Description Details
unbounded-agent Single binary delivered to hosts to bootstrap them as Kubernetes worker nodes using systemd-nspawn. Agent Guide
machina Kubernetes controller that provisions remote Linux machines over SSH. SSH Guide, CRD Reference
metalman Controller for PXE-booting bare-metal servers with DHCP, TFTP, HTTP, Redfish BMC, and TPM 2.0. PXE Guide, Bare Metal Concepts
unbounded-net CNI plugin and multi-site networking system for cross-site pod connectivity. Networking Concepts
kubectl-unbounded kubectl plugin for initializing sites, adding machines, and managing the cluster. CLI Reference

Quick Start

Get a working multi-site cluster in under 10 minutes. This creates an AKS cluster and joins a remote node to it. Already have a cluster? See the Bring Your Own Cluster guide.

1. Install the kubectl plugin

# Linux amd64
curl -sL https://github.com/Azure/unbounded/releases/latest/download/kubectl-unbounded-linux-amd64.tar.gz | tar xz
sudo mv kubectl-unbounded /usr/local/bin/
macOS (Apple Silicon)
curl -sL https://github.com/Azure/unbounded/releases/latest/download/kubectl-unbounded-darwin-arm64.tar.gz | tar xz
sudo mv kubectl-unbounded /usr/local/bin/

2. Create the cluster

curl -fsSLO https://raw.githubusercontent.com/Azure/unbounded/main/hack/scripts/aks-quickstart.sh
chmod +x aks-quickstart.sh

./aks-quickstart.sh create \
    --name my-unbounded \
    --location eastus \
    --remote-node-cidr 192.168.1.0/24 \
    --remote-pod-cidr 10.245.0.0/16

This takes about 8 minutes. The script creates an AKS cluster, adds a gateway node pool, and runs kubectl unbounded site init to install the networking stack.

3. Add a remote node

kubectl unbounded machine manual-bootstrap my-node --site remote \
    | ssh user@<host> sudo bash

Replace user@<host> with the SSH user and IP of your remote machine.

4. Verify

kubectl get nodes -w

After a few minutes your remote node appears with status Ready.

For the full walkthrough including pod networking verification, see the Getting Started Guide.

Documentation

Full documentation is available at azure.github.io/unbounded.

Concepts Project Overview · Networking · Bare Metal
Guides Getting Started · Existing Cluster · SSH Provisioning · Cloud API · PXE Boot · Agent
Reference Architecture · CLI · Machine CRD · GPU / NVIDIA

Repository Structure

api/          API definitions for custom resources
bin/          Generated binary artifacts
cmd/
  agent/      unbounded-agent sources
  inventory/  Inventory controller sources
  kubectl-unbounded/  kubectl plugin sources
  machina/    machina controller sources
  metalman/   metalman controller sources
deploy/       Kubernetes manifests for deployment
docs/         Documentation site (Hugo)
hack/         Development tools and scripts
images/       OCI image definitions (Containerfiles)
internal/     Shared internal packages

Building from Source

Requires Go 1.26+.

# Build the kubectl plugin
make kubectl-unbounded

# Build controllers (includes format, lint, test, and build)
make machina
make metalman

# Build without lint/test (used in container images)
make machina-build
make metalman-build

# Build container images
make machina-oci
make metalman-oci

# Serve docs locally
make docs-serve

See CONTRIBUTING.md for full build instructions and coding standards.

Contributing

This project welcomes contributions and suggestions. See CONTRIBUTING.md for details on how to get started, including the CLA process, coding standards, and how to submit pull requests.

License

This project is licensed under the MIT License.

Third-party dependency attributions are listed in the NOTICE file.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

Directories

Path Synopsis
api
machina/v1alpha3
+kubebuilder:object:generate=true +groupName=unbounded-cloud.io
+kubebuilder:object:generate=true +groupName=unbounded-cloud.io
net/v1alpha1
Package v1alpha1 contains API Schema definitions for the net.unbounded-cloud.io v1alpha1 API group.
Package v1alpha1 contains API Schema definitions for the net.unbounded-cloud.io v1alpha1 API group.
cmd
agent command
machina command
metalman command
orca command
orca/orca
Package orca wires the Orca cache binary together.
Package orca wires the Orca cache binary together.
unping command
unping sends health check probes to a remote unbounded-net node and prints round-trip times in a format similar to standard ping.
unping sends health check probes to a remote unbounded-net node and prints round-trip times in a format similar to standard ping.
unroute command
unroute dumps the eBPF tunnel-endpoint LPM trie (unb_endpts) in human-readable, JSON, or raw-hex form.
unroute dumps the eBPF tunnel-endpoint LPM trie (unb_endpts) in human-readable, JSON, or raw-hex form.
deploy
machina
Package machina embeds the rendered Machina controller deployment manifests so they can be bundled into binaries that need to apply them (e.g.
Package machina embeds the rendered Machina controller deployment manifests so they can be bundled into binaries that need to apply them (e.g.
net
Package net embeds the rendered unbounded-net controller and node deployment manifests so they can be bundled into binaries that need to apply them (e.g.
Package net embeds the rendered unbounded-net controller and node deployment manifests so they can be bundled into binaries that need to apply them (e.g.
hack
cmd/forge command
cmd/notice command
notice generates and verifies the project's NOTICE file from the direct dependencies declared in go.mod and frontend/package.json.
notice generates and verifies the project's NOTICE file from the direct dependencies declared in go.mod and frontend/package.json.
cmd/notice/internal/gomod
Package gomod implements a notice.Collector for direct dependencies declared in go.mod.
Package gomod implements a notice.Collector for direct dependencies declared in go.mod.
cmd/notice/internal/license
Package license contains ecosystem-agnostic helpers for license classification, copyright extraction, and license-URL construction.
Package license contains ecosystem-agnostic helpers for license classification, copyright extraction, and license-URL construction.
cmd/notice/internal/notice
Package notice contains the core types and orchestration for the NOTICE generator: the on-disk schema, the Collector interface, and the helpers that ecosystem packages use to assemble entries.
Package notice contains the core types and orchestration for the NOTICE generator: the on-disk schema, the Collector interface, and the helpers that ecosystem packages use to assemble entries.
cmd/notice/internal/npm
Package npm implements a notice.Collector for direct dependencies declared in frontend/package.json.
Package npm implements a notice.Collector for direct dependencies declared in frontend/package.json.
cmd/notice/internal/testutil
Package testutil provides shared helpers for hermetic notice-tool tests.
Package testutil provides shared helpers for hermetic notice-tool tests.
cmd/orcaseed command
cmd/orcaseed/orcaseed
Package orcaseed implements the `orcaseed` developer tool used by the Orca dev harness to populate the in-cluster Azurite origin container with synthetic or operator-supplied content.
Package orcaseed implements the `orcaseed` developer tool used by the Orca dev harness to populate the in-cluster Azurite origin container with synthetic or operator-supplied content.
cmd/render-manifests command
render-manifests is a generic Go template renderer.
render-manifests is a generic Go template renderer.
cmd/render-manifests/render
Package render implements the manifest template renderer used by the render-manifests CLI.
Package render implements the manifest template renderer used by the render-manifests CLI.
internal
net/allocator
Package allocator provides CIDR allocation functionality for Kubernetes nodes.
Package allocator provides CIDR allocation functionality for Kubernetes nodes.
net/certmanager
Package certmanager manages TLS serving certificates for the controller using a self-signed CA.
Package certmanager manages TLS serving certificates for the controller using a self-signed CA.
net/config
Package config provides configuration types for the unbounded-net-controller.
Package config provides configuration types for the unbounded-net-controller.
net/controller
Package controller implements the Kubernetes node controller for CIDR allocation.
Package controller implements the Kubernetes node controller for CIDR allocation.
net/ebpf
Package ebpf provides eBPF-based tunnel dataplane management.
Package ebpf provides eBPF-based tunnel dataplane management.
net/html
Package html embeds HTML page templates used by the controller and node binaries.
Package html embeds HTML page templates used by the controller and node binaries.
net/metrics
Package metrics provides shared Prometheus metrics helpers for the unbounded-net controller and node agent.
Package metrics provides shared Prometheus metrics helpers for the unbounded-net controller and node agent.
net/netlink
Package netlink provides utilities for managing network configuration using netlink
Package netlink provides utilities for managing network configuration using netlink
ociutil
Package ociutil provides shared helpers for OCI registry operations.
Package ociutil provides shared helpers for OCI registry operations.
orca/app
Package app wires the Orca runtime: origin + cachestore + cluster + fetch coordinator + edge / internal HTTP listeners.
Package app wires the Orca runtime: origin + cachestore + cluster + fetch coordinator + edge / internal HTTP listeners.
orca/cachestore
Package cachestore defines the in-DC chunk store interface and shared types.
Package cachestore defines the in-DC chunk store interface and shared types.
orca/cachestore/s3
Package s3 is the cachestore driver for in-DC S3-compatible stores.
Package s3 is the cachestore driver for in-DC S3-compatible stores.
orca/chunk
Package chunk implements the chunk model: ChunkKey, deterministic path encoding, and the range -> chunk-index iterator.
Package chunk implements the chunk model: ChunkKey, deterministic path encoding, and the range -> chunk-index iterator.
orca/chunkcatalog
Package chunkcatalog implements a bounded LRU recording chunks known to be present in the CacheStore.
Package chunkcatalog implements a bounded LRU recording chunks known to be present in the CacheStore.
orca/cluster
Package cluster handles peer discovery and rendezvous-hash coordinator selection.
Package cluster handles peer discovery and rendezvous-hash coordinator selection.
orca/config
Package config defines Orca's YAML configuration shape and loading helpers.
Package config defines Orca's YAML configuration shape and loading helpers.
orca/fetch
Package fetch is the per-replica fill orchestrator: per-ChunkKey singleflight, pre-header origin retry, per-replica origin concurrency cap, and cross-replica fill via the cluster's internal RPC.
Package fetch is the per-replica fill orchestrator: per-ChunkKey singleflight, pre-header origin retry, per-replica origin concurrency cap, and cross-replica fill via the cluster's internal RPC.
orca/manifests
Package manifests holds tests that validate the orca deployment manifest templates render to syntactically correct, structurally reasonable Kubernetes YAML.
Package manifests holds tests that validate the orca deployment manifest templates render to syntactically correct, structurally reasonable Kubernetes YAML.
orca/metadata
Package metadata is the per-replica object-metadata cache.
Package metadata is the per-replica object-metadata cache.
orca/origin
Package origin defines the upstream-blob-store interface and shared types.
Package origin defines the upstream-blob-store interface and shared types.
orca/origin/awss3
Package awss3 is the AWS S3 (and S3-compatible) origin driver.
Package awss3 is the AWS S3 (and S3-compatible) origin driver.
orca/origin/azureblob
Package azureblob is the Azure Blob Storage adapter for the Origin interface.
Package azureblob is the Azure Blob Storage adapter for the Origin interface.
orca/server
Package server holds the HTTP handlers for the client edge and the internal-listener.
Package server holds the HTTP handlers for the client edge and the internal-listener.
version
Package version exposes build-time version metadata.
Package version exposes build-time version metadata.
pkg
agent/agentbinary
Package agentbinary installs unbounded-agent binaries from release archives.
Package agentbinary installs unbounded-agent binaries from release archives.
agent/config
Package config defines the intermediate representation (IR) for agent configuration.
Package config defines the intermediate representation (IR) for agent configuration.
agent/daemon
Package daemon defines public library-facing types for composing host-local agent daemon controllers and operation runners.
Package daemon defines public library-facing types for composing host-local agent daemon controllers and operation runners.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL