Uploaded image for project: 'Serverless logic'
  1. Serverless logic
  2. SRVLOGIC-475

[CLI] Executing kn workflow run creates the container in the background

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 1.36.0
    • 1.35.0
    • Cloud:CLI
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Summary


      When running a workflow application locally using `kn workflow run`, in previous releases, the behavior kept the bash/terminal session open and user was able to kill it when done with testing. Currently the container of the application is spun in the background and to kill it user need to stop and remove the docker container manually

      Benefit is that the container is running in background and as long as user modfiies the project hot reload is doing its job.

      At the very least we need to document this and tell user how to stop the container so they are able to work on other project if needed.

      Environment


      Linux AMD x86_64

      Steps to reproduce


      1. Download kn workflow plugin
      2. Run `kn workflow create`
      3. Run `cd new-project`
      4. Run `kn workflow run`

      Actual results


      The command completes and there is a running podman container in the background.
      When users executes Ctrl+C it does nothing.

      Expected results


      The command does not completes and there is a running podman container asociated with the bash/terminal session. When users executes Ctrl+C in the bash/terminal, it kills the container spun by kn workflow run

      Testing


      Manual verification of this issue is sufficient

              dtikhomi@redhat.com Dmitrii Tikhomirov
              dhanak@redhat.com Dominik Hanak
              Dominik Hanak Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: