holodeck

module
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: Apache-2.0

README ΒΆ

Holodeck

Latest Release

CI Pipeline

A tool for creating and managing GPU-ready Cloud test environments.


πŸ“– Documentation


✨ Features

  • Multi-OS Support: Ubuntu, Rocky Linux 9, Amazon Linux 2023 with automatic AMI resolution (guide)
  • Multi-Architecture: x86_64 and ARM64 with automatic architecture inference
  • Custom Templates: Run user-provided scripts at any provisioning phase (guide)
  • Multi-Node Clusters: HA Kubernetes clusters with kubeadm (guide)
  • Flexible Sources: Install components from packages, git, runfiles, or latest branches (guide)
  • Automatic IP Detection: No manual IP configuration needed for AWS (guide)

πŸš€ Quick Start

See docs/quick-start.md for a full walkthrough.

make build
sudo mv ./bin/holodeck /usr/local/bin/holodeck
holodeck --help

πŸ› οΈ Prerequisites

  • Go 1.20+
  • (For AWS) Valid AWS credentials in your environment
  • (For SSH) Reachable host and valid SSH key

See docs/prerequisites.md for details.


⚠️ Important: Kernel Compatibility

When installing NVIDIA drivers, Holodeck requires kernel headers matching your running kernel version. If exact headers are unavailable, Holodeck will attempt to find compatible ones, though this may cause driver compilation issues.

For kernel compatibility details and troubleshooting, see Kernel Compatibility in the prerequisites documentation.


πŸ“ How to Contribute

See docs/contributing/ for full details.

Main Makefile Targets
  • make build – Build the holodeck binary
  • make test – Run all tests
  • make lint – Run linters
  • make clean – Remove build artifacts

πŸ§‘β€πŸ’» Usage

See docs/commands/ for detailed command documentation and examples.

holodeck --help
Example: Create an environment
holodeck create -f ./examples/v1alpha1_environment.yaml
Example: List environments
holodeck list
Example: Delete an environment
holodeck delete <instance-id>
Example: Clean up AWS VPC resources
holodeck cleanup vpc-12345678
Example: Check status
holodeck status <instance-id>
Example: Dry Run
holodeck dryrun -f ./examples/v1alpha1_environment.yaml

πŸ“‚ More


For more information, see the documentation directory.

Directories ΒΆ

Path Synopsis
api
holodeck/v1alpha1
Package v1alpha1 contains API Schema definitions for the holodeck v1alpha1 API group +kubebuilder:object:generate=true +groupName=holodeck.nvidia.com
Package v1alpha1 contains API Schema definitions for the holodeck v1alpha1 API group +kubebuilder:object:generate=true +groupName=holodeck.nvidia.com
cmd
action command
cli command
cli/os
Package os provides CLI commands for managing operating system images.
Package os provides CLI commands for managing operating system images.
internal
ami
Package ami provides internal AMI-to-OS mapping utilities for holodeck.
Package ami provides internal AMI-to-OS mapping utilities for holodeck.
aws
Package aws provides internal AWS utilities and interfaces for the holodeck project.
Package aws provides internal AWS utilities and interfaces for the holodeck project.
pkg
testutil
Package testutil provides shared testing utilities, fixtures, and mocks for the holodeck test suite.
Package testutil provides shared testing utilities, fixtures, and mocks for the holodeck test suite.
testutil/mocks
Package mocks provides mock implementations for external dependencies used in testing.
Package mocks provides mock implementations for external dependencies used in testing.

Jump to

Keyboard shortcuts

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