Files
inception-of-things/README.md
2025-08-27 22:29:14 +02:00

1.4 KiB

inception-of-things

This project aims to introduce you to Kubernetes from a developer perspective. You will have to set up small clusters and discover the mechanics of continuous integration. At the end of this project you will be able to have a working cluster in docker and have a usable continuous integration for your applications.

How to use

Setting up the VM

First, since everything is done in a Virtual Machine, we provide a NixOS configuration to bootstrap everything. You launch use it by running one of the following commands:

# Launches the VM normally
nix run ./vm

# Launches the VM in TUI/headless mode
nix run ./vm#vm-nodisplay

You can also run nix run .#clean in the vm directory to clean-up any VM files.

Part 1: Setting up the cluster

Just run:

# Starts the vms and provisions them
vagrant up --provision

Then you can vagrant ssh {USER}-{S,SW} to ssh into the vms and check for wathever you want.

Part 2: I don't even know anymore

Like before run vagrant up --provision and then you will have access to the different apps (app1.com, app2.com, app3.com).

If the hosts files are not proprely configured just run p2/script/hosts.sh

Part 3: What?

Bonus part: GitLab hell

TODO: bla bla bla

License

This project is licensed under the ISC License.