Skip to content

vpsfreecz/vpsfree-cz-configuration

Repository files navigation

vpsFree.cz cluster configuration

This repository contains Nix configuration of vpsFree.cz infrastructure, i.e. vpsAdminOS-powered nodes, machines and related services run in containers.

Requirements

Development environment

Enter the development environment:

nix develop

This provides confctl from the pinned flake input (see flake.lock), installs Ruby gems into ./.gems, and generates man pages into ./.man so man confctl works.

If you prefer nix-shell, shell.nix is a compatibility shim:

nix-shell

Common tasks

List machines:

confctl ls

Build a machine:

confctl build <machine>

Update flake inputs:

confctl inputs ls
confctl inputs channel ls
confctl inputs channel update --commit '{production,staging}' vpsadminos

Hosts can be built and deployed using confctl, see confctl or man confctl for more information.

Examples

# List available hosts
confctl ls

# Build all hosts
confctl build

# Build selected hosts
confctl build "cz.vpsfree/nodes/stg/*"

# Deploy all hosts
confctl deploy

# Try to deploy configuration of selected hosts
confctl deploy "cz.vpsfree/nodes/stg/*" dry-activate

About

vpsFree.cz cluster configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages