From 0c38062af9d34f2b4d050392b2a14420cda8a7aa Mon Sep 17 00:00:00 2001 From: Moti Asayag Date: Mon, 7 Aug 2023 10:55:03 +0300 Subject: [PATCH] Update operator installation instructions to new prefix (#425) 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 --- .../operator/install-serverless-operator.adoc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/serverlessworkflow/modules/ROOT/pages/cloud/operator/install-serverless-operator.adoc b/serverlessworkflow/modules/ROOT/pages/cloud/operator/install-serverless-operator.adoc index a923d0592..3f05cddaa 100644 --- a/serverlessworkflow/modules/ROOT/pages/cloud/operator/install-serverless-operator.adoc +++ b/serverlessworkflow/modules/ROOT/pages/cloud/operator/install-serverless-operator.adoc @@ -57,7 +57,7 @@ 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: @@ -65,10 +65,10 @@ 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: @@ -76,7 +76,7 @@ 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. @@ -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+"]