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

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

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: