kubespray-offline-infra

Configure DNS, NTP, NAT, YUM repositories, and PyPI mirrors for air-gapped Kubernetes deployments.

6|2|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/sigridjineth/kubespray-skills --skill kubespray-offline-infra
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kubespray-offline-infra
Source: https://github.com/sigridjineth/kubespray-skills/tree/main/kubespray-offline-infra
Command: npx skills add https://github.com/sigridjineth/kubespray-skills --skill kubespray-offline-infra

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill automates the setup of essential network services required for deploying Kubernetes clusters in an air-gapped or isolated environment, ensuring all nodes have access to necessary resources without internet connectivity.

Core Features & Use Cases

  • Network Services: Configures DNS (bind), NTP (chrony), NAT gateway, local package repositories (YUM/DNF), and private PyPI mirrors.
  • Offline Deployment: Enables the deployment of Kubernetes using Kubespray in environments with no external network access.
  • Use Case: You need to deploy a Kubernetes cluster on-premises in a secure facility with no internet access. This Skill will set up the admin server to provide DNS, time sync, package downloads, and Python package mirrors to all cluster nodes.

Quick Start

Use the kubespray-offline-infra skill to set up DNS, NTP, and a local YUM repository on the admin server.

Frequently Asked Questions about kubespray-offline-infra

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up DNS and NTP for an air-gapped Kubernetes deployment?

To set up DNS and NTP for an air-gapped Kubernetes deployment, this Skill automates the configuration of bind for DNS resolution and chrony for time synchronization across isolated cluster nodes.

What is the best way to create local package repositories for offline Kubernetes clusters?

The best way to create local package repositories for offline Kubernetes clusters is using this Skill to automate reposync and nginx, providing self-contained local YUM and DNF mirrors accessible without internet connectivity.

Can I configure a private PyPI mirror in an isolated network environment?

Yes, you can configure a private PyPI mirror in an isolated network environment because this Skill sets up private Python package mirrors utilizing devpi or pypi-mirror on the admin server.

How does NAT gateway setup work for air-gapped infrastructure?

NAT gateway setup for air-gapped infrastructure works by automating the network address translation configuration on the admin server, routing internal cluster traffic securely within the isolated environment.

Do I need an admin server to deploy Kubespray offline?

Yes, you need an admin server to deploy Kubespray offline, as this Skill configures that specific server to centrally provide DNS, NTP, package repositories, and PyPI mirrors to all cluster nodes.