mirror of
https://github.com/hanzo-ml/kuberay.git
synced 2026-10-30 19:48:47 +00:00
* [Build][kubectl-plugin] Add release script for kubectl plugin Closes: ray-project/kuberay#2406 Signed-off-by: Chi-Sheng Liu <[email protected]> * [Chore] Add comments to explain why krew-release-bot does not work now Closes: ray-project/kuberay#2406 Signed-off-by: Chi-Sheng Liu <[email protected]> --------- Signed-off-by: Chi-Sheng Liu <[email protected]>
Kuberay Kubectl Plugin
Kubectl plugin/extension for Kuberay CLI that provides the ability to manage ray resources.
Prerequisites
- Make sure there is a Kubernetes cluster running with KubeRay installed.
- Make sure
kubectlhas the right context.
Installation
Compiling from source
- Run
go build cmd/kubectl-ray.go - Move the binary, which will be named
kubectl-rayto yourPATH
Using Krew
- Install Krew.
- (TODO: Replace this step with the installation command).
Shell Completion
- Install kubectl plugin-completion plugin.
- Run
kubectl plugin-completion generate. - Add
$HOME/.kubectl-plugin-completiontoPATHin your shell profile.