Stephanie Meilak
Stephanie Meilak

Reputation: 1

How can I investigate what is wrong with my SCDF configuration when I get "Failed to create stream"?

I am trying to deploy my first stream APP via the spring cloud dataflow dashboard, but I keep getting the "Failed to create stream" error in the UI. Can someone help me investigate what might be wrong?

I am running SCDF on kubernetes and my deployment consists of the following components:

My stream is the simple time | log example

Upvotes: 0

Views: 254

Answers (2)

onobc
onobc

Reputation: 596

It could be failing at any point in the deploy. To gain some insight, you can view the events and logs on each pod w/ the following commands:

kubectl describe pods/<pod-name> 
kubectl logs pods/<pod_name>

Upvotes: 0

TinaC
TinaC

Reputation: 529

Try using kubectl on the scdf-server pod to see if it provides any information. I've seen that error occur if an app I deployed was not accessible - in my case, I'd referenced it by an incorrect filepath which didn't get caught by the server until it tried to deploy the stream.

Upvotes: 0

Related Questions