Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-14605

[Camel-Knative-example] unknown command 'broker'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Critical
    • camel-K-M3
    • camel-K-M3
    • Camel-K
    • None
    • % %

    Description

      I am not able to install knative broker using `kn` cli tool downloaded from my OCP 4.5.

      What I did:

      • install serverless-operator from OperatorHub
        ➜  camel-k-example-knative git:(master) oc get csv
        NAME                         DISPLAY                         VERSION   REPLACES   PHASE
        serverless-operator.v1.7.2   OpenShift Serverless Operator   1.7.2                Succeeded
        
      • Use `command-line-tools` link to download `kn` cli
      • ➜  camel-k-example-knative git:(master) kn broker create default 
        Error: unknown command 'broker' 
        Run 'kn --help' for usage.
        
        ➜  camel-k-example-knative git:(master) kn help   
        Manage your Knative building blocks:
        
        * Serving: Manage your services and release new software to them.
        * Eventing: Manage event subscriptions and channels. Connect up event sources.
        
        Usage:
          kn [command]
        
        Available Commands:
          completion  Output shell completion code
          help        Help about any command
          plugin      Plugin command group
          revision    Revision command group
          route       Route command group
          service     Service command group
          source      Event source command group
          trigger     Trigger command group
          version     Prints the client version
        
        Flags:
              --config string        kn config file (default is ~/.config/kn/config.yaml)
          -h, --help                 help for kn
              --kubeconfig string    kubectl config file (default is ~/.kube/config)
              --log-http             log http traffic
              --lookup-plugins       look for kn plugins in $PATH
              --plugins-dir string   kn plugins directory (default "~/.config/kn/plugins")
        
        Use "kn [command] --help" for more information about a command.
        
        ➜  camel-k-example-knative git:(master) kn version               
        Version:      v0.13.2
        Build Date:   2020-04-17 06:24:25
        Git Revision: cdafb7f
        Supported APIs:
        * Serving
          - serving.knative.dev/v1 (knative-serving v0.13.2)
        * Eventing
          - sources.eventing.knative.dev/v1alpha1 (knative-eventing v0.13.6)
          - sources.eventing.knative.dev/v1alpha2 (knative-eventing v0.13.6)
          - eventing.knative.dev/v1alpha1 (knative-eventing v0.13.6)
        

      Attachments

        Activity

          People

            Unassigned Unassigned
            jbouska@redhat.com Jan Bouska
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: