kubernetes-sigs / kui

A hybrid command-line/UI development experience for cloud-native development
Apache License 2.0
2.82k stars 183 forks source link

Using Kui as a kubectl plugin does not work on macOS X #3298

Closed dove-young closed 4 years ago

dove-young commented 4 years ago

Describe the bug A clear and concise description of what the bug is.

kubectl kui get po --ui
Error: unknown command "kui" for "kubectl"

Did you mean this?
    run

Run 'kubectl --help' for usage.

Steps to reproduce the behavior

  1. Download Kui.dmg
  2. Install
  3. Click Kui from launchpad
  4. type kubectl kui po --ui at terminal window
  5. see error

Similar steps

  1. Download Kui-darwin-x64.tar.bz2
  2. Unpack
  3. Click Kui.app
  4. type kubectl kui po --ui at terminal window
  5. see error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Code snippets If applicable, add code samples to help explain your problem.

System

starpit commented 4 years ago

hi @dove-young

indeed. this repo is not set up for use as a kubectl plugin. we will remove the script from this repo. please refer to this other repo, which is the home of the kubectl-focused kui efforts: https://github.com/kui-shell/plugin-kubeui (whereas the IBM/kui repo is the home of the core kui framework).

we hope to use the plugin-kubeui repo as the basis for a krew plugin in the near future.

behind the scenes, the plugin-kubeui repo uses this repo as the foundation. we will continue to clarify this, as we work towards the krew strategy over the next few weeks!

starpit commented 4 years ago

this should be resolved now. we have integrated kubernetes functionality into this repo, updated the top-level README to describe usage as a kubectl plugin, and also updated the way we package this plugin functionality into the pre-built images of Kui.