|
| 1 | +// Module included in the following assemblies |
| 2 | +// assembly-orchestrator-helm-modules.adoc |
| 3 | + |
| 4 | +:_mod-docs-content-type: PROCEDURE |
| 5 | +[id="proc-install-rhdh-with-orchestrator-helm-cli_{context}"] |
| 6 | += Installing {product} ({product-very-short}) on {ocp-short} with the Orchestrator using the Helm chart |
| 7 | + |
| 8 | +You can install {product} ({product-very-short}) on {ocp-short} with the Orchestrator by using the Helm chart. The installation automatically enables the required dynamic plugins and integrates workflow infrastructure. |
| 9 | + |
| 10 | +.Prerequisites |
| 11 | + |
| 12 | +* You are logged in as an administrator and have access to the {product} Helm chart repository. |
| 13 | +* You can install the necessary infrastructures resources, such as sonataflow, alongside {product-very-short} in the same namespace. |
| 14 | ++ |
| 15 | +This is a one-off requirement and must be completed before enabling the Orchestrator plugin. |
| 16 | +
|
| 17 | +.Procedure |
| 18 | + |
| 19 | +. As an administrator, install cluster-wide resources. |
| 20 | ++ |
| 21 | +[source,yaml] |
| 22 | +---- |
| 23 | +helm repo add bitnami https://charts.bitnami.com/bitnami |
| 24 | +helm repo add backstage https://backstage.github.io/charts |
| 25 | +helm repo add redhat-developer https://redhat-developer.github.io/rhdh-chart |
| 26 | + |
| 27 | +helm install <release_name> redhat-developer/redhat-developer-hub-orchestrator-infra |
| 28 | +---- |
| 29 | ++ |
| 30 | +[IMPORTANT] |
| 31 | +==== |
| 32 | +You must be a cluster administrator to install the `redhat-developer-hub-orchestrator-infra` Helm chart because it deploys cluster-scoped resources. The administrator manually approves the installed plans by setting the values of the Openshift Serverless and Openshift Serverless Logic Operators to `true.` |
| 33 | +==== |
| 34 | + |
| 35 | +. Install the Backstage chart with the orchestrator enabled as shown in the following example: |
| 36 | ++ |
| 37 | +[source,yaml] |
| 38 | +---- |
| 39 | +helm install <release_name> openshift-helm-charts/redhat-developer-hub --version 1.7.0 \ |
| 40 | + --set orchestrator.enabled=true |
| 41 | +---- |
| 42 | + |
| 43 | +. (Optional) Enable *Notifications* and *Signals* plugins by adding them to the `global.dynamic.plugins` list in your `values.yaml` file as shown in the following example: |
| 44 | ++ |
| 45 | +[source,yaml] |
| 46 | +---- |
| 47 | +global: |
| 48 | + dynamic: |
| 49 | + plugins: |
| 50 | + - disabled: false |
| 51 | + package: "./dynamic-plugins/dist/backstage-plugin-notifications" |
| 52 | + - disabled: false |
| 53 | + package: "./dynamic-plugins/dist/backstage-plugin-signals" |
| 54 | + - disabled: false |
| 55 | + package: "./dynamic-plugins/dist/backstage-plugin-notifications-backend-dynamic" |
| 56 | + - disabled: false |
| 57 | + package: "./dynamic-plugins/dist/backstage-plugin-signals-backend-dynamic" |
| 58 | +---- |
| 59 | + |
| 60 | +. (Optional) You can disable the Serverless Logic and Serverless Operators individually or together by setting their values to `false`, as shown in the following example: |
| 61 | ++ |
| 62 | +[source,yaml] |
| 63 | +---- |
| 64 | +helm install <release_name> openshift-helm-charts/redhat-developer-hub \ |
| 65 | + --version 1.7.0 \ |
| 66 | + --set orchestrator.enabled=true \ |
| 67 | + --set orchestrator.serverlessOperator=false \ |
| 68 | + --set orchestrator.serverlessLogicOperator=false |
| 69 | +---- |
| 70 | + |
| 71 | +. (Optional) If you are using an external database, add the following configuration under `orchestrator.sonataflowPlatform` in your `values.yaml` file: |
| 72 | ++ |
| 73 | +[source,yaml] |
| 74 | +---- |
| 75 | +orchestrator: |
| 76 | + sonataflowPlatform: |
| 77 | + externalDBsecretRef: "<cred-secret>" |
| 78 | + externalDBName: "<database_name>" # The name of the user-configured existing database (Not the database that the orchestrator and sonataflow resources use). |
| 79 | + externalDBHost: "<database_host>" |
| 80 | + externalDBPort: "<database_port>" |
| 81 | +---- |
| 82 | ++ |
| 83 | +[NOTE] |
| 84 | +==== |
| 85 | +This only configures the Orchestrators use of an external database. To configure {product} to use an external PostgreSQL instance, follow the steps in link:{configuring-book-url}#proc-configuring-postgresql-instance-using-helm_configuring-external-postgresql-databases[Configuring a PostgreSQL instance using Helm]. |
| 86 | +==== |
| 87 | + |
| 88 | +.Verification |
| 89 | + |
| 90 | +. Verify that the orchestrator plugin is visible in the {product} UI. |
| 91 | + |
| 92 | +. Create and run sample workflows to confirm orchestration is functioning correctly. |
0 commit comments