kubespray-lab-setup

Installation
SKILL.md

Kubespray Lab Environment Setup

Overview

This skill covers building a local 6-node Vagrant/VirtualBox lab for testing Kubespray HA deployments. The environment includes an admin/load balancer node, three control plane nodes with stacked etcd, and two worker nodes running Rocky Linux 10.

Core principle: The admin-lb node acts as your deployment workstation, HAProxy load balancer, and NFS server. All Kubespray operations are executed from this node against the five K8s nodes over a host-only network.

When to Use

  • Setting up a local Vagrant/VirtualBox lab for Kubespray testing
  • Provisioning multi-node Rocky Linux clusters
  • Configuring an admin node with HAProxy, NFS, and deployment tools
  • Preparing K8s nodes with kernel modules and sysctl settings
  • Testing HA configurations with a local load balancer

Not for: Running Kubespray playbooks (use kubespray-deployment), configuring HA variables (use kubespray-ha-configuration), troubleshooting cluster issues (use kubespray-troubleshooting)

Architecture Overview

Installs
2
GitHub Stars
3
First Seen
Feb 28, 2026
kubespray-lab-setup — sigridjineth/kubespray-skills