Projet

Général

Profil

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

Ajouté par Fabrice Barconnière il y a environ 5 ans. Mis à jour il y a environ 5 ans.

Statut:
Fermé
Priorité:
Normal
Début:
25/03/2019
Echéance:
% réalisé:

100%

Temps estimé:
3.00 h
Temps passé:
Restant à faire (heures):
0.0

Historique

#1 Mis à jour par Fabrice Barconnière il y a environ 5 ans

  • Statut changé de Nouveau à En cours

#2 Mis à jour par Fabrice Barconnière il y a environ 5 ans

  • % réalisé changé de 0 à 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
Tout se trouve dans le repertoire kubernetes :
  • Installer glusterfs : #27643
  • Créer les PersistentVolumeClaim pour mongodb et redis : #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
  • 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 Mis à jour par Fabrice Barconnière il y a environ 5 ans

  • Restant à faire (heures) changé de 3.0 à 0.0

#4 Mis à jour par Scrum Master il y a environ 5 ans

  • Statut changé de En cours à Résolu

#5 Mis à jour par Scrum Master il y a environ 5 ans

  • Statut changé de Résolu à Fermé

Formats disponibles : Atom PDF