Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Projet_Terraform
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MUNIER Florian
Projet_Terraform
Commits
924c66cb
Commit
924c66cb
authored
2 years ago
by
MUNIER Florian
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
62c1201e
No related branches found
No related tags found
No related merge requests found
Pipeline
#15832
failed
2 years ago
Stage: init
Stage: plan
Stage: apply
Stage: destroy
Stage: on_failure
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+9
-0
9 additions, 0 deletions
README.md
with
9 additions
and
0 deletions
README.md
+
9
−
0
View file @
924c66cb
...
...
@@ -18,6 +18,7 @@
-
d'un fichier "private_ips.txt" contenant les IP locales des instances, généré automatiquement et copié sur les instances
-
d'un fichier "public_ips.txt" contenant les IP publiques des instances "bastion" et "node01", généré automatiquement
-
d'un fichier "hosts.ini" et ssh.cfg servant à lancer des commandes pour un projet Ansible
-
d'un cluster kubernetes contenant un master (bastion) et trois workers (nodes) (EN AMELIORATION)
# Clone du projet
...
...
@@ -94,6 +95,7 @@ Pour cela, allez dans le fichier "main.tf" et veuillez à renseigner les variabl
# Déploiement de l'architecture
```
sh
cd
projet_terraform
terraform init
terraform plan
terraform apply
...
...
@@ -123,6 +125,13 @@ L'architecture est graphiquement visualisable via Openstack :
Projet / Réseau / Topologie
du
réseau
```
# Visualiser le cluster Kubernetes
```
sh
ssh
-i
.ssh/projet_terraform.pem ubuntu@<BASTION_PUBLIC_IP>
sudo
kubectl get nodes
```
# Suppression de l'architecture
Si vous voulez supprimer l'architecture, lancer la commande suivante :
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment