Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

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.
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat