mirror of
https://codeberg.org/27/inception-of-things.git
synced 2025-08-11 20:12:53 +02:00
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
|||||||
ISC License
|
ISC License
|
||||||
|
|
||||||
Copyright (c) 2025 kiroussa
|
Copyright (c) 2025 adjoly, lbouet, kiroussa
|
||||||
|
|
||||||
Permission to use, copy, modify, and/or distribute this software for any
|
Permission to use, copy, modify, and/or distribute this software for any
|
||||||
purpose with or without fee is hereby granted, provided that the above
|
purpose with or without fee is hereby granted, provided that the above
|
||||||
|
33
README.md
33
README.md
@ -1,6 +1,37 @@
|
|||||||
# [inception-of-things](https://projects.intra.42.fr/projects/inception-of-things)
|
# [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.
|
> 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
|
||||||
|
|
||||||
|
`TODO: bla bla bla`
|
||||||
|
|
||||||
|
### Part 2: I don't even know anymore
|
||||||
|
|
||||||
|
`TODO: bla bla bla`
|
||||||
|
|
||||||
|
### Part 3: What?
|
||||||
|
|
||||||
|
`TODO: bla bla bla`
|
||||||
|
|
||||||
|
### Bonus part: GitLab hell
|
||||||
|
|
||||||
|
`TODO: bla bla bla`
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
6
flake.lock
generated
6
flake.lock
generated
@ -2,11 +2,11 @@
|
|||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1739736696,
|
"lastModified": 1751792365,
|
||||||
"narHash": "sha256-zON2GNBkzsIyALlOCFiEBcIjI4w38GYOb+P+R4S8Jsw=",
|
"narHash": "sha256-J1kI6oAj25IG4EdVlg2hQz8NZTBNYvIS0l4wpr9KcUo=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "d74a2335ac9c133d6bbec9fc98d91a77f1604c1f",
|
"rev": "1fd8bada0b6117e6c7eb54aad5813023eed37ccb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -58,9 +58,9 @@
|
|||||||
layout = "fr";
|
layout = "fr";
|
||||||
variant = "us";
|
variant = "us";
|
||||||
};
|
};
|
||||||
displayManager.gdm.enable = true;
|
|
||||||
desktopManager.gnome.enable = true;
|
|
||||||
};
|
};
|
||||||
|
displayManager.gdm.enable = true;
|
||||||
|
desktopManager.gnome.enable = true;
|
||||||
libinput.enable = true;
|
libinput.enable = true;
|
||||||
};
|
};
|
||||||
hardware.graphics = {
|
hardware.graphics = {
|
||||||
|
12
vm/flake.lock
generated
12
vm/flake.lock
generated
@ -23,11 +23,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1737057290,
|
"lastModified": 1751903740,
|
||||||
"narHash": "sha256-3Pe0yKlCc7EOeq1X/aJVDH0CtNL+tIBm49vpepwL1MQ=",
|
"narHash": "sha256-PeSkNMvkpEvts+9DjFiop1iT2JuBpyknmBUs0Un0a4I=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixos-generators",
|
"repo": "nixos-generators",
|
||||||
"rev": "d002ce9b6e7eb467cd1c6bb9aef9c35d191b5453",
|
"rev": "032decf9db65efed428afd2fa39d80f7089085eb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -38,11 +38,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1739736696,
|
"lastModified": 1751792365,
|
||||||
"narHash": "sha256-zON2GNBkzsIyALlOCFiEBcIjI4w38GYOb+P+R4S8Jsw=",
|
"narHash": "sha256-J1kI6oAj25IG4EdVlg2hQz8NZTBNYvIS0l4wpr9KcUo=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "d74a2335ac9c133d6bbec9fc98d91a77f1604c1f",
|
"rev": "1fd8bada0b6117e6c7eb54aad5813023eed37ccb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
let
|
let
|
||||||
generate-vm = modules:
|
generate-vm = modules:
|
||||||
nixos-generators.nixosGenerate {
|
nixos-generators.nixosGenerate {
|
||||||
inherit system, modules;
|
inherit system modules;
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit hostname;
|
inherit hostname;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user