Ce contenu n'est pas disponible dans la langue sélectionnée.

9.2. Default Scaling Build Life Cycle


On the head gear, where the web proxy runs, the build phase for a scalable application is the same as the default build phase for a non-scaling application. The deploy phase for scalable applications is different.

Deploy Phase

  1. OpenShift Enterprise starts the secondary cartridges on the application's head gear.
  2. OpenShift Enterprise runs the web proxy's deploy hook on the head gear.
  3. The web proxy runs deployment steps on the application's secondary gears. For example, the default web proxy, HAProxy, preforms the following steps:
    1. It stops the secondary gears.
    2. It synchronizes the code and build artifacts from the head gear to the secondary gears.
    3. It runs the primary cartridge's control update-configuration command on the secondary gears.
    4. It starts all the secondary cartridges on the secondary gears.
    5. It runs the primary cartridge's control deploy command on the secondary gears.
    6. It runs the deploy user action hook, if present, on the secondary gears.
    7. It starts the primary cartridge on the secondary gears. The application is now running on the secondary gears.
    8. It runs the primary cartridge's control post-deploy command on the secondary gears.
    9. It runs the post-deploy user action hook, if present, on the secondary gears.
  4. OpenShift Enterprise runs the primary cartridge's control deploy command on the head gear.
  5. OpenShift Enterprise runs the deploy user action hook, if present, on the head gear.
  6. OpenShift Enterprise starts the primary cartridge on the head gear.
  7. OpenShift Enterprise runs the primary cartridge's control post-deploy command on the head gear.
  8. OpenShift Enterprise runs the post-deploy user action hook, if present, on the head gear.
The build is now complete, and the scaled application is running.
Retour au début
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2025 Red Hat