knativeknative-servingknative-eventing

Knative Eventing - NewObservedGenFailure error for helloworld sample's trigger


I am trying out sample hello world application to make use of knative events. Using the reference guide: https://knative.dev/docs/eventing/samples/helloworld/helloworld-python/

I manage to create service, deployment & trigger using the sample-app.yaml. However when I run

kubectl --namespace knative-samples get trigger helloworld-python to check on the trigger status, I got this error "NewObservedGenFailure".

knative-samples helloworld-python default 21m Unknown NewObservedGenFailure

screenshot

Any insight on what is causing this? Or how can I troubleshoot this issue? Could not get much info from google. Thank you


Solution

  • I was just blindly following the guide which did not state about broker creation. The trigger issue is resolved after creating the broker.