Compare commits

...

5 Commits

Author SHA1 Message Date
51764c8318 clean: fix permisssion p3/install 2025-06-13 17:49:50 +02:00
a07e31299b fix: typo in the installation script 2025-05-23 11:38:19 +02:00
14815609f2 Update README.md 2025-05-14 06:49:28 -04:00
0ca51facce clean: vagrant file, use virtualbox and bento/debian-12 2025-05-14 11:10:42 +02:00
c5f8c1250c add: readme: add subject 2025-05-14 11:04:16 +02:00
5 changed files with 15 additions and 15 deletions

View File

@ -1,5 +1,5 @@
# Inception of Things # Inception of Things
A project of 42 school entirely made in Peer to Peer learning with my mate Unai A project of 42 school entirely made in Peer Programming with my mate Unai
## Purpose ## Purpose
Discover [Kubernetes](https://kubernetes.io/), [Vagrant](https://developer.hashicorp.com/vagrant), [ArgoCD](https://argo-cd.readthedocs.io/en/stable/) Discover [Kubernetes](https://kubernetes.io/), [Vagrant](https://developer.hashicorp.com/vagrant), [ArgoCD](https://argo-cd.readthedocs.io/en/stable/)
@ -8,3 +8,5 @@ Discover [Kubernetes](https://kubernetes.io/), [Vagrant](https://developer.hashi
- Install ArgoCD and setup an ArgoCD pipeline with a github repository - Install ArgoCD and setup an ArgoCD pipeline with a github repository
- Deploy a gitlab instance on k3d cluster - Deploy a gitlab instance on k3d cluster
- Create an Ingress config - Create an Ingress config
## [Subject](./en.subject.pdf)

15
p1/Vagrantfile vendored
View File

@ -1,13 +1,12 @@
Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
config.vm.synced_folder ".", "/vagrant", type: "nfs" config.vm.box = "bento/debian-12"
config.vm.box = "debian/buster64"
config.vm.define "cchauvetS" do |server| config.vm.define "cchauvetS" do |server|
server.vm.hostname = "cchauvetS" server.vm.hostname = "cchauvetS"
server.vm.network "private_network", :ip => "192.168.56.110" server.vm.network "private_network", :ip => "192.168.56.110"
server.vm.provider "libvirt" do |lv| server.vm.provider "virtualbox" do |vb|
lv.memory = "2048" vb.memory = "2048"
lv.cpus = "2" vb.cpus = "2"
end end
server.vm.provision "shell", path: "scripts/server.sh" server.vm.provision "shell", path: "scripts/server.sh"
end end
@ -15,9 +14,9 @@ Vagrant.configure("2") do |config|
config.vm.define "cchauvetSW" do |agent| config.vm.define "cchauvetSW" do |agent|
agent.vm.hostname = "cchauvetSW" agent.vm.hostname = "cchauvetSW"
agent.vm.network "private_network", :ip => "192.168.56.111" agent.vm.network "private_network", :ip => "192.168.56.111"
agent.vm.provider "libvirt" do |lv| agent.vm.provider "virtualbox" do |vb|
lv.memory = "512" vb.memory = "512"
lv.cpus = "1" vb.cpus = "1"
end end
agent.vm.provision "shell", path: "scripts/agent.sh", args: ["192.168.56.110"] agent.vm.provision "shell", path: "scripts/agent.sh", args: ["192.168.56.110"]
end end

9
p2/Vagrantfile vendored
View File

@ -1,13 +1,12 @@
Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
config.vm.synced_folder ".", "/vagrant", type: "nfs" config.vm.box = "bento/debian-12"
config.vm.box = "debian/buster64"
config.vm.define "cchauvetS" do |server| config.vm.define "cchauvetS" do |server|
server.vm.hostname = "cchauvetS" server.vm.hostname = "cchauvetS"
server.vm.network "private_network", :ip => "192.168.56.110" server.vm.network "private_network", :ip => "192.168.56.110"
server.vm.provider "libvirt" do |lv| server.vm.provider "virtualbox" do |vb|
lv.cpus = "8" vb.cpus = "2"
lv.memory = "10240" vb.memory = "2048"
end end
server.vm.provision "shell", path: "scripts/k3s.sh" server.vm.provision "shell", path: "scripts/k3s.sh"
end end

0
p3/scripts/install.sh Normal file → Executable file
View File