Skip to content

Commit

Permalink
Update operator installation instructions to new prefix (#425)
Browse files Browse the repository at this point in the history
The new namespace and operator prefix is `sonataflow`.
Therefore, the instructions are updated accordingly, and some of the
outputs of the commands.

Signed-off-by: Moti Asayag <[email protected]>
  • Loading branch information
masayag committed Aug 7, 2023
1 parent 938e6af commit 0c38062
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,26 +57,26 @@ You can follow the deployment of the {product_name} Operator:
.Watch the {product_name} Operator pod
[source,shell,subs="attributes+"]
----
kubectl get pod -n kogito-serverless-operator-system --watch
kubectl get pod -n sonataflow-operator-system --watch
----

A successful installation should have an output like this:

.Successful Installation Output
[source]
----
NAME READY STATUS RESTARTS AGE
kogito-serverless-operator-controller-manager-948547ffd-sr2j2 0/2 ContainerCreating 0 6s
kogito-serverless-operator-controller-manager-948547ffd-sr2j2 1/2 Running 0 7s
kogito-serverless-operator-controller-manager-948547ffd-sr2j2 2/2 Running 0 20s
NAME READY STATUS RESTARTS AGE
sonataflow-operator-controller-manager-948547ffd-sr2j2 0/2 ContainerCreating 0 6s
sonataflow-operator-controller-manager-948547ffd-sr2j2 1/2 Running 0 7s
sonataflow-operator-controller-manager-948547ffd-sr2j2 2/2 Running 0 20s
----

You can also follow the operator’s log:

.Watch the {product_name} Operator pod logs
[source,shell,subs="attributes+"]
----
kubectl logs deployment/kogito-serverless-operator-controller-manager -n kogito-serverless-operator-system -f
kubectl logs deployment/sonataflow-operator-controller-manager -n sonataflow-operator-system -f
----

Once the operator is running, it will watch for instances of the {product_name} Custom Resources (CR). Using CRs, you can configure your {product_name} environment and define Workflows and builds to be handled by the operator.
Expand Down Expand Up @@ -114,12 +114,12 @@ To uninstall the correct version of the operator, first you must get the current
.Getting the operator version
[source,shell,subs="attributes+"]
----
kubectl get deployment kogito-serverless-operator-controller-manager -n kogito-serverless-operator-system -o jsonpath="{.spec.template.spec.containers[?(@.name=='manager')].image}"
kubectl get deployment sonataflow-operator-controller-manager -n sonataflow-operator-system -o jsonpath="{.spec.template.spec.containers[?(@.name=='manager')].image}"
quay.io/kiegroup/kogito-serverless-operator-nightly:1.34.0
quay.io/kiegroup/kogito-serverless-operator-nightly:1.41.0
----

The operator manager image reflects the current operator's version. Replace the major and minor version names in the command below. For example, if the image version is `1.34.0` use `1.34` in the placeholder:
The operator manager image reflects the current operator's version. Replace the major and minor version names in the command below. For example, if the image version is `1.41.0` use `1.41` in the placeholder:

.Uninstalling the operator
[source,shell,subs="attributes+"]
Expand Down

0 comments on commit 0c38062

Please sign in to comment.