From 94edeb9473a1dc8f50df957c2266e59d13f6ce22 Mon Sep 17 00:00:00 2001 From: LuboTerifaj Date: Mon, 10 Jun 2024 18:02:54 +0200 Subject: [PATCH] Issue-583: Holistic review of non-quarkus getting-started chapter --- serverlessworkflow/antora.yml | 2 +- ...ur-first-workflow-service-with-kn-cli-and-vscode.adoc | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/serverlessworkflow/antora.yml b/serverlessworkflow/antora.yml index 1fed81a94..090b78b87 100644 --- a/serverlessworkflow/antora.yml +++ b/serverlessworkflow/antora.yml @@ -46,7 +46,7 @@ asciidoc: kogito_devservices_imagename: quay.io/kiegroup/kogito-data-index-ephemeral-nightly sonataflow_devmode_imagename: quay.io/kiegroup/kogito-swf-devmode-nightly sonataflow_builder_imagename: quay.io/kiegroup/kogito-swf-builder-nightly - sonataflow_devmode_devui_url: /q/dev/org.kie.kogito.kogito-quarkus-serverless-workflow-devui/ + sonataflow_devmode_devui_url: /q/dev-ui/org.apache.kie.sonataflow.sonataflow-quarkus-devui/ serverless_logic_web_tools_name: Serverless Logic Web Tools serverless_workflow_vscode_extension_name: KIE Serverless Workflow Editor kie_kogito_examples_repo_name: incubator-kie-kogito-examples diff --git a/serverlessworkflow/modules/ROOT/pages/getting-started/create-your-first-workflow-service-with-kn-cli-and-vscode.adoc b/serverlessworkflow/modules/ROOT/pages/getting-started/create-your-first-workflow-service-with-kn-cli-and-vscode.adoc index 25f5c313e..88ca5e6c8 100644 --- a/serverlessworkflow/modules/ROOT/pages/getting-started/create-your-first-workflow-service-with-kn-cli-and-vscode.adoc +++ b/serverlessworkflow/modules/ROOT/pages/getting-started/create-your-first-workflow-service-with-kn-cli-and-vscode.adoc @@ -47,6 +47,11 @@ To deploy the finished project to a local cluster, proceed to the next section. Use the `deploy` command with kn workflow to deploy the {product_name} project into your local cluster. +* Create a namespace for your application +[source,bash] +---- +kubectl create namespace my-sf-application +---- * Deploy to cluster [source,bash] ---- @@ -65,7 +70,7 @@ Minikube:: minikube service hello --namespace my-sf-application --url ---- * Use this URL to access your workflow instances using the Developer UI -** {sonataflow_devmode_devui_url}workflowInstances +** {sonataflow_devmode_devui_url}workflows -- Kind:: + @@ -90,7 +95,7 @@ kubectl port-forward service/hello :80 -n my-sf-application * To stop the deployment, use the `undeploy` command: [source,bash] ---- -kn worklow undeploy --namespace my-sf-application +kn workflow undeploy --namespace my-sf-application ---- * You can validate your pod is terminating using k9s cli.