Initial Installation
This chapter provides a step-by-step overview of how to execute the initial installation of the PAS-X MES system using Helm, Argo CD, and Argo Workflows.
Before proceeding, ensure that
-
Prerequisites are fully met.
-
for OpenShift, the OpenShift routing requirements and Route certificate requirements are met.
-
Argo CD is installed and fully functional (including CRDs).
-
the Argo CD
Applicationmanifest as described in the Argo CD Application Manifest is prepared. -
the Configuration is completed and merged into the branch used for installation.
Each step must be performed in the order listed to ensure a successful and reliable installation.
1. Bootstrap the PAS-X System
1.1. Apply the PAS-X Bootstrap Chart
1.1.1. Description
Apply the prepared Argo CD Application manifest for the PAS-X Bootstrap Chart.
The manifest creates or updates the pasx-system Argo CD Application, which installs the mes-applications Helm chart and creates the ApplicationSet resources required for PAS-X MES lifecycle management.
The Helm chart sets up two Argo CD ApplicationSet resources:
-
mes-workflows: This provisions Argo CD Applications required to bootstrap the installation and lifecycle management workflows. It includes:
-
pasx-argo-workflows: Installs Argo Workflows infrastructure
-
mes-workflows: Defines and installs reusable workflows for bootstrapping, installing, validating, migrating, and uninstalling the PAS-X MES system.
These Argo CD Applications are created in a controlled, sequential order using the RollingSync strategy to ensure pasx-argo-workflows is available before mes-workflows.
-
-
mes-applications: This is responsible for setting up PAS-X MES components and services. It is the first Helm chart that sets up the needed Argo CD Applications, which will then reconcile following the installation process using workflows and operators.
The
ApplicationSetgenerates Argo CD Applications for core PAS-X MES infrastructure components such as operators (MES Operator, RabbitMQ Operator), the MES Instance, RabbitMQ clusters, and all configured MES services. These Argo CD Applications are configured based on the values provided in themes-applications-values.yamlfile. The values file also references sub-folders containing values files for each application, which define the specific configuration for each component and service to be installed in the system.
1.1.2. Prerequisites
-
OCI registry is accessible and contains the required Helm charts and container images for the PAS-X MES system.
-
The Argo CD
Applicationmanifest for the bootstrap chart must be prepared as described in the chapter Configuration - Argo CD Application Manifest section.
1.2. Sync the Körber PAS-X Bootstrap Application
1.2.1. Description
Synchronize the pasx-system Argo CD Application.
The manual sync applies the ApplicationSet resources and generates the Argo CD Applications required for PAS-X MES lifecycle management.
The generated applications include:
-
Workflows, including:
-
Argo Workflows — the underlying orchestration engine.
-
PAS-X Workflows — responsible for installing and managing the lifecycle of the PAS-X system.
-
-
MES Installation Server
-
Auxiliary services like RabbitMQ, API Gateway, and MES OpenTelemetry Collector.
-
Core PAS-X components like
mes-operator,servicesandinstance.
2. Install PAS-X MES with database schema migration
2.1. Description
Start a PAS-X MES installation with database schema migration in Argo Workflows. The workflow installs PAS-X MES, performs database schema migration, and publishes an Installation Report that documents the execution result. For workflow parameters and phases, see PAS-X MES System Installation.
2.2. Prerequisites
-
Argo Workflows must be available and reachable.
-
The PAS-X MES installation workflow template must be available in Argo Workflows.
-
The PAS-X MES system must be in an undeployed state.
3. Assess Installation Report
3.1. Description
After the workflow finishes, an Installation Report is generated and published to the MES Installation Server. This report provides a summary of the installation process and any issues encountered.
Installation Reports are generated for both installation and uninstall workflows. For details about the report contents, see Content of Installation Report.
Assess the Installation Report for a completed installation or uninstallation workflow. The assessment verifies that the workflow completed successfully, records warnings or errors, and confirms that the PAS-X MES system reached the expected state.
3.2. Prerequisites
-
The workflow execution must be completed.
-
The Installation Report must be generated and published to the MES Installation Server.