Running Kubernetes in an Air‑Gapped Environment With Spinifex
说明与用途
Spinifex 通过 USB 媒体传输所有必需的包和镜像,实现了在离线网络中部署完全功能的 AWS 兼容 Kubernetes(EKS)平台,无需互联网连接或代理。
问题
Deploying Kubernetes in environments without internet access is difficult because components expect to pull images, reach package repositories, and communicate with cloud APIs.
结果
Spinifex allows secure, offline deployment of Kubernetes and EKS clusters, eliminating the need for internet connectivity or proxy setups.
工作流
- 1. On a connected machine, download Spinifex release tarball, setup script, and checksum.
- 2. Pre‑download required APT packages with
apt install --download-onlyand store .deb files. - 3. Download AWS CLI v2 installer and a cloud image (e.g., Debian 13 qcow2).
- 4. Copy all artifacts (tarball, packages, AWS CLI, images) to USB media in organized folders.
- 5. On the air‑gapped target, mount USB, install APT packages from local cache using
dpkg -iandapt-get install --no-download. - 6. Install AWS CLI from the USB archive and run Spinifex installer with flags to use local tarball and skip remote downloads.
- 7. Run
setup-ovn.shto configure networking, initialize Spinifex without telemetry, and start services. - 8. Import cloud images with
spx admin images import. - 9. Verify installation by querying AWS CLI for instance types and images.
- 10. Create EKS clusters using standard AWS CLI commands, ensuring required node images are imported first.
证据
Spinifex installs without internet access, using a release tarball and pre‑staged packages transferred on USB media, and it provides an AWS‑compatible EKS implementation
The Spinifex platform, covering the AWS gateway, compute, block storage, object storage, networking, and IAM, installs and runs with no internet connectivity at all
- 记录日期: 2026-09-10T05:15:28.357Z