2023-11-08 16:12:23 +01:00
2023-11-08 16:12:23 +01:00
2023-11-06 21:45:18 +01:00
2023-11-08 16:12:23 +01:00
2023-11-08 16:12:23 +01:00
2023-11-08 16:12:23 +01:00
2023-11-08 16:12:23 +01:00
2023-11-08 16:12:23 +01:00
2023-11-08 16:12:23 +01:00
2023-11-08 16:12:23 +01:00
2023-11-08 16:12:23 +01:00
2023-11-08 16:12:23 +01:00
2023-11-08 16:12:23 +01:00

Kubernetes cluster avec Vagrant

vagrant

Pré requis

Install Vagrant

wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
sudo apt update -y && sudo apt install vagrant -y

Créer cluster 🔨

cp .env.example .env
vagrant up

Laisser le temps à Vagrant de construire les machines 15 min approximativement

Déployer app 🚀

vagrant ssh m
# vagrant scp devops.yml ...
kubectl apply -f devops.yml

Déployer ingress Nginx 🎌

kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.8.2/deploy/static/provider/baremetal/deploy.yaml

http://localhost/devops

Description
Kubernetes déploiement via Minikube, Kind et Vagrant
Readme 211 KiB
Languages
JavaScript 44.7%
Vue 24.3%
Shell 16.8%
Python 11.8%
Dockerfile 1.8%
Other 0.6%