Files
Jiaxin ShanandGitHub 6941f6ffe8 Manifests and docs improvement for prerelease (#191)
* Unify resource names in manifests

* Add leadership role and bindings in helm chart

1. Add role and rolebindings for leadership election.
2. Update namespace to ray-system for consistency

* Update README.md

* Improve apiserver and cli docs

* Remove unuseful fields in example
2022-03-14 11:25:20 +08:00
..

KubeRay Operator

Kuberay-operator: A simple Helm chart

Run a deployment of Ray Operator.

Deploy ray operator first, then deploy ray cluster.

Helm

Make sure helm version is v3+

$ helm version
version.BuildInfo{Version:"v3.6.2", GitCommit:"ee407bdf364942bcb8e8c665f82e15aa28009b71", GitTreeState:"dirty", GoVersion:"go1.16.5"}

Installing the Chart

To avoid duplicate CRD definitions in this repo, we reuse CRD config in ray-operator:

$ kubectl apply -k "../../ray-operator/config/crd"

Please use command below:

$ helm install kuberay-operator . --values values.yaml --namespace ray-system --create-namespace

List the Chart

To list the my-release deployment:

$ helm list -n kuberay-operator

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete kuberay-operator -n ray-system

The command removes nearly all the Kubernetes components associated with the chart and deletes the release.