Files
inception-of-things/README.md

47 lines
1.4 KiB
Markdown

# [inception-of-things](https://projects.intra.42.fr/projects/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:
```bash
# 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:
```bash
# 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](LICENSE).