Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-9242

Kogito Serverless Workflow Tools Dev UI not shown in the Operator Dev Mode

XMLWordPrintable

    • False
    • None
    • False
    • ---
    • ---

      When we deploy a SW using the Operator Dev Mode, the Kogito Servlerless Workflow Tools Dev UI is not shown well.

      Note: the UI is show, but the workflows are not loaded, if you try to refresh in the browser logs we can see that it's trying to query on localhost:8080, but should use the serverless WF url.

       

      Please follow these steps to reproduce:

      1) Start minikube with the following command:

      minikube start --cpus 4 --memory 4096 --addons registry --addons metrics-server --insecure-registry "10.0.0.0/24" --insecure-registry "localhost:5000"

      2) Install the kogito-serverless-workflow operator in your minikube installation.

      kubectl create -f https://raw.githubusercontent.com/kiegroup/kogito-serverless-operator/main/operator.yaml

      3) Create the following namespace

      kubectl create namespace kogito-workflows

      4) Install the following workflow

      kubectl apply -f https://raw.githubusercontent.com/kiegroup/kogito-serverless-operator/main/config/samples/sw.kogito_v1alpha08_kogitoserverlessworkflow_devmode.yaml -n kogito-workflows

      5) verify the greeting workflow is running

      kubectl get pod -n kogito-workflows

      6) Expose the greeting workflow

      kubectl patch svc greeting -n kogito-workflows -p '{"spec": {"type": "NodePort"}}'
      minikube service greeting -n kogito-workflows --url

      with the expose command you'll see a url like this: http://192.168.49.2:32204

      7) Using the url produce in set 6) open the following link and you'll see the quarkus dev UI

      http://192.168.49.2:32204/q/dev

      8) Click on the card link corresponding to the "Serverless Workflow Tools Runtime" dev UI

        1. ServerlessWorkflowTooksDevUI.png
          95 kB
          Walter Medvedeo
        2. ServerlessWorkflowToolsCard.png
          24 kB
          Walter Medvedeo

              cnicolai@redhat.com Cristiano Nicolai (Inactive)
              wmedvede@redhat.com Walter Medvedeo
              Barbora Kapustova Barbora Kapustova
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: