KaotoIO / kaoto-ui

Frontend for the Kaoto project to provide an easy-to-use integration framework based on Apache Camel.
https://www.kaoto.io
Apache License 2.0
89 stars 44 forks source link

[BUG] #1076

Closed skin27 closed 1 year ago

skin27 commented 1 year ago

I created a simple integration (see simple_integration.txt). After I finished I deployed the integration, but the integration fails to run. From the GUI it's not sure what's happening.

To Reproduce Steps to reproduce the behavior:

  1. Go to the main page
  2. Import the yaml (simple_integration.txt) the extensions is .txt by the way, because GitHub won't let me upload yaml files.
  3. Click on 'deploy.'
  4. The console:

Error processing deployment: Operation: [list] for kind: [Pod] with name: [null] in namespace: [default] failed.

Expected behavior I would expect some feedback why the error occurs and what to do to prevent it. Is it not possible yet, or do I need to configure some link to Kubernetes?

Logs See attached files

Environment (please complete the following information):

Additional context Add any other context about the problem here.

Attached FiIes

simple_integration.log simple_integration.txt

apupier commented 1 year ago

it looks alike you are not connected to a Kubernetes cluster. it is expected that there is an active connection. As far as i know i tis not yet documented. There are several possibilities depending how the Kaoto UI is launched.

For instance,; if launched locally, it will use the connection defined in the .kube folder. So if you connect with the cli kubectl, it will reuse this connection.

skin27 commented 1 year ago

I suspected that, but it maybe good to 'grey out' the deploy button, until the connection to the Kubernetes cluster is created (where?)

apupier commented 1 year ago

agree, see https://github.com/KaotoIO/kaoto-ui/issues/891

Delawen commented 1 year ago

Moving issue to UI tracker then.

kahboom commented 1 year ago

Closing since we have another issue open for this and are now pointing to this issue for more context.