Tâche #27751
Scénario #27374: Charger les pods Hackathon dans l'infrastructure
Déployer les applications e-user et ethercalc utilisant les services mongodb et redis
Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Remaining (hours):
0.0
History
#1 Updated by Fabrice Barconnière over 4 years ago
- Status changed from Nouveau to En cours
#2 Updated by Fabrice Barconnière over 4 years ago
- % Done changed from 0 to 100
Déployement¶
- Cloner le dépôt :
git clone https://gitlab.mim.ovh/fabrice.barconniere/hackathon-kubernetes
- Aller sur la branche sprintEOLE/27374 :
git checkout sprintEOLE/27374
kubernetes
:
- Installer
glusterfs
: #27643 - Créer les
PersistentVolumeClaim
pourmongodb
etredis
: #27661 - Déploiement du service
mongodb
:kubectl apply -f mongodb/mongodb-deploy-svc.yml
- Déploiement du service
redis
:kubectl apply -f redis/redis-deploy-svc.yml
- Déploiement du service
e-user
:- Création du
configmap
:cd euser; bash configmap.txt; cd ..
kubectl apply -f euser/euser-deploy-svc.yml
- Création du
- Déploiement du service
ethercalc
:kubectl apply -f ethercalc/ethercalc-deploy-svc.yml
Vérification du fonctionnement¶
- Trouver le port du service
e-user
kubectl get svc e-user
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE e-user NodePort 10.97.26.63 <none> 8080:30312/TCP 49m
- Ici c'est le port 30312
- Depuis un navigateur aller sur http://http://k8s.mim.ovh:30312
- Se connecter
admin / admin
- Trouver le port du service
ethercalc
kubectl get svc ethercalc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE ethercalc NodePort 10.111.82.226 <none> 8000:30159/TCP 65m
- Ici c'est le port 30159
- Depuis un navigateur aller sur http://http://k8s.mim.ovh:30159
#3 Updated by Fabrice Barconnière over 4 years ago
- Remaining (hours) changed from 3.0 to 0.0
#4 Updated by Scrum Master over 4 years ago
- Status changed from En cours to Résolu
#5 Updated by Scrum Master over 4 years ago
- Status changed from Résolu to Fermé