generated from redhat-developer/new-project-template
-
Notifications
You must be signed in to change notification settings - Fork 57
RHIDP-7556: Update-Orchestrator-documentation-1.7 #1338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Gerry-Forde
merged 9 commits into
redhat-developer:main
from
jmagak:RHIDP-7556-Update-Orchestrator-documentation-1.7
Sep 3, 2025
Merged
Changes from 2 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
eb1133b
Update the orchestrator modules
invalid-email-address 85e8425
Update the orchestrator modules
invalid-email-address 3fcd253
Update the orchestrator modules
invalid-email-address d1ed71a
Apply Elai and Piotr suggestions
invalid-email-address f9930f0
Apply Yona's comments
invalid-email-address b642314
Apply Elai and Jona's suggestions
invalid-email-address 8853c4f
Apply Jennifer's suggestion
invalid-email-address f252324
Apply Jennifer's suggestion
invalid-email-address 8ec75b9
Incorporate Peer reviewers comments
invalid-email-address File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| :mod-docs-content-type: CONCEPT | ||
| [id="con-helper-scripts-overview_{context}"] | ||
| = Helper scripts overview for the Orchestrator on {ocp-short} | ||
|
|
||
| You can install the OpenShift Serverless infrastructure for the Orchestrator plugin using the {product-very-short} helper script. The following helper scripts are available to streamline non-production setup: | ||
|
|
||
| * `setup.sh`: Initializes the {product-very-short} environment by creating the required authentication secret and labeling GitOps namespaces based on cluster configuration. It can use defaults or prompt for values. | ||
| * `plugin-infra.sh`: Installs the OpenShift Serverless infrastructure required by the Orchestrator plugin. | ||
|
|
||
| [NOTE] | ||
| ==== | ||
| These scripts are intended for quick-start scenarios and are **not recommended for production**. | ||
| ==== | ||
|
|
||
| For more information on controlling the installation of the Operators, see link:https://olm.operatorframework.io/docs/tasks/install-operator-with-olm/[Install your Operator with OLM]. | ||
28 changes: 28 additions & 0 deletions
28
modules/orchestrator/con-install-components-orchestrator-plugin.adoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| :_mod-docs-content-type: CONCEPT | ||
| [id="con-install-components-orchestrator-plugin_{context}"] | ||
| = Installing components for the Orchestrator plugin on {ocp-short} | ||
jmagak marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| To run the Orchestrator plugin successfully on {ocp-short}, you must install components that provide the runtime environment and the dependencies that the plugin requires. | ||
|
|
||
| .Required components | ||
|
|
||
| * The Orchestrator plugin depends on the following components: | ||
|
|
||
| ** OpenShift Serverless Logic Operator | ||
| ** OpenShift Serverless Operator | ||
| *** Knative Serving | ||
| *** Knative Eventing | ||
| ** {product} ({product-very-short}) {product-custom-resource-type} | ||
| ** (Optional) An ArgoCD project named orchestrator requires a pre-installed ArgoCD or {company-name} OpenShift GitOps instance in the cluster. It is disabled by default. | ||
jmagak marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ** (Optional) Tekton tasks and build pipeline. These require a pre-installed Tekton or {company-name} OpenShift Pipelines instance in the cluster, and are disabled by default. | ||
jmagak marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| + | ||
| [NOTE] | ||
| ==== | ||
| You must preinstall the components, or install them by using one of the supported methods. | ||
| ==== | ||
|
|
||
| You can install the components (Operators) that provide the dependencies required by the Orchestrator plugin on {ocp-short} using the following methods: | ||
|
|
||
| * Manual installation | ||
| * {product-very-short} helper script | ||
| * Orchestrator Infrastructure for {product} Helm chart | ||
16 changes: 16 additions & 0 deletions
16
modules/orchestrator/proc-helm-install-components-orchestrator-plugin.adoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| :mod-docs-content-type: PROCEDURE | ||
| [id="proc-helm-install-components-orchestrator-plugin_{context}"] | ||
| = Installing the Orchestrator plugin components using the Orchestrator Infrastructure for {product} Helm chart | ||
|
|
||
| You can use Orchestrator Infrastructure for {product} to install components for the Orchestrator plugins. | ||
|
|
||
| [IMPORTANT] | ||
| ==== | ||
| By default, Orchestrator Infrastructure for {product} Helm chart does *not* auto-install or auto-upgrade the required Serverless Operators. You must approve the install plans. | ||
| ==== | ||
|
|
||
| .Procedure | ||
|
|
||
| . Add or update the Helm repository for Orchestrator Infrastructure for {product}. | ||
| . Install the chart with the required configuration for your environment. | ||
| . Approve the install plans for the Serverless Operators when prompted. |
72 changes: 0 additions & 72 deletions
72
modules/orchestrator/proc-install-components-for-orchestrator-plugin.adoc
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
modules/orchestrator/proc-manual-install-components-orchestrator-plugin.adoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| :mod-docs-content-type: PROCEDURE | ||
| [id="proc-manual-install-orchestrator-plugin_{context}"] | ||
| = Manually installing the Orchestrator plugin components on {ocp-short} | ||
|
|
||
| Use manual installation when you want full control of the setup process and component versions. | ||
|
|
||
| .Procedure | ||
|
|
||
| . Deploy the PostgreSQL reference implementation for persistence support in SonataFlow. | ||
|
|
||
| . Create a namespace for the Orchestrator solution as shown in the following example: | ||
| + | ||
| [subs="quotes+"] | ||
| ---- | ||
| oc new-project ${orchestrator} | ||
| ---- | ||
|
|
||
| . Run the setup script. | ||
| Follow the steps in the _Installing the Orchestrator plugin components using the {product-very-short} helper script_ section to download and execute the `setup.sh` script, which initializes the {product-very-short} environment. | ||
|
|
||
| . Install the Orchestrator Operator in the {ocp-short} cluster by applying the following manifest: | ||
| + | ||
| [source,yaml] | ||
| ---- | ||
| apiVersion: operators.coreos.com/v1alpha1 | ||
| kind: Subscription | ||
| metadata: | ||
| name: orchestrator-operator | ||
| namespace: openshift-operators | ||
| spec: | ||
| channel: stable | ||
| installPlanApproval: Automatic | ||
| name: orchestrator-operator | ||
| source: redhat-operators | ||
| sourceNamespace: openshift-marketplace | ||
jmagak marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ---- | ||
|
|
||
| . Verify installation by running the following command: | ||
| + | ||
| [source,terminal,subs="+attributes,+quotes"] | ||
| ---- | ||
| wget https://raw.githubusercontent.com/rhdhorchestrator/orchestrator-go-operator/release-${PRODUCT_VERSION}/hack/wait_for_operator_installed.sh -O /tmp/wait_for_operator_installed.sh \ && chmod u+x /tmp/wait_for_operator_installed.sh \ && /tmp/wait_for_operator_installed.sh # Specify the {product} version in the URL | ||
| ---- | ||
|
|
||
| During installation, the Orchestrator Operator creates the following sub-components: | ||
|
|
||
| * {product-very-short} Operator | ||
| * OpenShift Serverless Operator | ||
| * OpenShift Serverless Logic Operator | ||
|
|
||
jmagak marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| It also creates the necessary custom resources (CRs) for Orchestrator to function properly. | ||
|
|
||
| . Apply the Orchestrator custom resource (CR) to the cluster to create an instance of {product-very-short} and resources for OpenShift Serverless and OpenShift Serverless Logic: | ||
| + | ||
| [source,terminal,subs="+attributes,+quotes"] | ||
| ---- | ||
| oc apply -n orchestrator -f https://raw.githubusercontent.com/rhdhorchestrator/orchestrator-go-operator/refs/heads/release-${PRODUCT_VERSION}/config/samples/_v1alpha3_orchestrator.yaml # Specify the {product} version in the URL | ||
| ---- | ||
|
|
||
| [NOTE] | ||
| ==== | ||
| After the first reconciliation of the Orchestrator CR, changes to some fields might not propagate to the intended resources. For example, updating the `platform.resources.requests` field in the Orchestrator CR has no effect on the running SonataFlowPlatform (SFP) resource. | ||
| ==== | ||
jmagak marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| For more information on preparing the required infrastructure, see link:https://docs.redhat.com/en/documentation/red_hat_openshift_serverless/1.36[Red Hat OpenShift Serverless]. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| :mod-docs-content-type: PROCEDURE | ||
| [id="proc-plugin-infra-install_{context}"] | ||
| = Installing dependencies with `plugin-infra.sh` | ||
|
|
||
| You can use the `{product-very-short}` helper script `plugin-infra.sh` to install the OpenShift Serverless infrastructure required by the Orchestrator plugin. | ||
|
|
||
| [WARNING] | ||
| ==== | ||
| Do not use `plugin-infra.sh` in production. | ||
| ==== | ||
|
|
||
| .Procedure | ||
|
|
||
| . Download the `plugin-infra.sh` script as shown in the following example: | ||
| + | ||
| [source,terminal,subs="+attributes,+quotes"] | ||
| ---- | ||
| curl -sSLO https://raw.githubusercontent.com/redhat-developer/rhdh-operator/refs/heads/release-${PRODUCT_VERSION}/config/profile/rhdh/plugin-infra/plugin-infra.sh # Specify the {product} version in the URL or use main | ||
| ---- | ||
|
|
||
| . Run the script: | ||
| + | ||
| [source,terminal] | ||
| ---- | ||
| $ ./plugin-infra.sh | ||
| ---- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| :mod-docs-content-type: PROCEDURE | ||
| [id="proc-setup-sh-init-script_{context}"] | ||
| = Installing the Orchestrator plugin components using the `setup.sh` script | ||
|
|
||
| The `setup.sh` script simplifies the initialization of the {product-very-short} environment by: | ||
|
|
||
| * Creating the required authentication secret. | ||
| * Labeling GitOps namespaces based on the cluster configuration. | ||
|
|
||
| .Procedure | ||
|
|
||
| . Create a namespace for the {product-very-short} instance. This namespace is predefined as the default in both the `setup.sh` script and the Orchestrator CR, but you can override it as shown in the following example: | ||
jmagak marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| + | ||
| [subs="quotes+"] | ||
| ---- | ||
| oc new-project ${product-very-short} | ||
| ---- | ||
|
|
||
| . Download the setup script from the GitHub repository: | ||
| + | ||
| [source,terminal,subs="+attributes,+quotes"] | ||
| ---- | ||
| wget https://raw.githubusercontent.com/rhdhorchestrator/orchestrator-go-operator/release-${PRODUCT_VERSION}/hack/setup.sh -O /tmp/setup.sh \ && chmod u+x /tmp/setup.sh # Specify the {product} version in the URL | ||
| ---- | ||
|
|
||
| . Run the setup script: | ||
| + | ||
| [source,terminal] | ||
| ---- | ||
| /tmp/setup.sh --use-default | ||
| ---- | ||
| + | ||
| [NOTE] | ||
| ==== | ||
| To specify custom values, omit the `--use-default` option. The script will then prompt you for input. | ||
| ==== | ||
|
|
||
| The contents of the secret vary depending on cluster configuration and can include the following keys: | ||
|
|
||
| * `BACKEND_SECRET`: Randomly generated. This is mandatory for the {product-very-short} Operator to start. | ||
| * `K8S_CLUSTER_URL`: Dynamically obtained with `oc whoami --show-server`. | ||
| * `K8S_CLUSTER_TOKEN`: Dynamically obtained from the service account and namespace. | ||
| * `GITHUB_TOKEN`: Prompted from the user. | ||
| * `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET`: Used to authenticate against GitHub. | ||
| * `GITLAB_HOST` and `GITLAB_TOKEN`: Used to authenticate against GitLab. | ||
| * `ARGOCD_URL`: Obtained from the first ArgoCD instance available. | ||
| * `ARGOCD_USERNAME`: Defaults to `admin`. | ||
| * `ARGOCD_PASSWORD`: Obtained dynamically from the ArgoCD instance. | ||
|
|
||
| Keys without values are omitted. For example, if no GitOps operator is installed, the ArgoCD-related keys are excluded. | ||
|
|
||
| .Sample secret in a GitOps environment: | ||
| [source,yaml] | ||
| ---- | ||
| apiVersion: v1 | ||
| data: | ||
| ARGOCD_PASSWORD: ... | ||
| ARGOCD_URL: ... | ||
| ARGOCD_USERNAME: ... | ||
| BACKEND_SECRET: ... | ||
| GITHUB_TOKEN: ... | ||
| K8S_CLUSTER_TOKEN: ... | ||
| K8S_CLUSTER_URL: ... | ||
| kind: Secret | ||
| metadata: | ||
| name: backstage-backend-auth-secret | ||
| namespace: rhdh | ||
| type: Opaque | ||
| ---- | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.