Skip to content

Allow for synchronous creation of a binding #53

@rhuss

Description

@rhuss

Waiting for a binding to be ready would be nice, much like kn service create does:

kn service create edisplay --image gcr.io/knative-releases/knative.dev/eventing-contrib/cmd/event_display
Creating service 'edisplay' in namespace 'default':

  0.034s The Route is still working to reflect the latest desired specification.
  0.048s Configuration "edisplay" is waiting for a Revision to become ready.
  0.072s ...
 13.932s ...
 14.002s Ingress has not yet been reconciled.
 14.042s Waiting for load balancer to be ready
 14.213s Ready to serve.

Service 'edisplay' created to latest revision 'edisplay-00001' is available at URL:
http://edisplay.default.example.com

And maybe add some summary message at the end.

Also, these options would be helpful then

      --wait                              Wait for 'service create' operation to be completed. (default true)
      --wait-timeout int                  Seconds to wait before giving up on waiting for service to be ready. (default 600)

(and --no-wait for an aync operation as it is now)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriage/acceptedIssues which should be fixed (post-triage)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions