Skip to content

Commit

Permalink
Failure happened when install operator with kubectl apply (ray-projec…
Browse files Browse the repository at this point in the history
…t#525)

Fixes installation instructions in various parts of the docs.
  • Loading branch information
kevin85421 authored Sep 1, 2022
1 parent 635ee3e commit e85fa3c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
9 changes: 5 additions & 4 deletions docs/deploy/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
#### Nightly version

```
kubectl create -k "github.com/ray-project/kuberay/manifests/cluster-scope-resources"
kubectl apply -k "github.com/ray-project/kuberay/manifests/base"
export KUBERAY_VERSION=master
kubectl create -k "github.com/ray-project/kuberay/manifests/cluster-scope-resources?ref=${KUBERAY_VERSION}&timeout=90s"
kubectl apply -k "github.com/ray-project/kuberay/manifests/base?ref=${KUBERAY_VERSION}&timeout=90s"
```

#### Stable version

```
kubectl create -k "github.com/ray-project/kuberay/manifests/cluster-scope-resources?ref=v0.2.0"
kubectl apply -k "github.com/ray-project/kuberay/manifests/base?ref=v0.2.0"
kubectl create -k "github.com/ray-project/kuberay/manifests/cluster-scope-resources?ref=v0.3.0"
kubectl apply -k "github.com/ray-project/kuberay/manifests/base?ref=v0.3.0"
```

> Observe that we must use `kubectl create` to install cluster-scoped resources.
Expand Down
2 changes: 1 addition & 1 deletion docs/guidance/rayservice.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ A RayService manages 2 things:

### Deploy the Operator

`$ kubectl apply -k "github.com/ray-project/kuberay/ray-operator/config/default"`
`$ kubectl create -k "github.com/ray-project/kuberay/ray-operator/config/default?ref=v0.3.0&timeout=90s"`

Check that the controller is running.

Expand Down
3 changes: 1 addition & 2 deletions docs/notebook/kuberay-on-kind.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@
}
],
"source": [
"!kubectl create -k \"github.com/ray-project/kuberay/manifests/cluster-scope-resources\"\n",
"!kubectl apply -k \"github.com/ray-project/kuberay/manifests/base\""
"!kubectl create -k \"github.com/ray-project/kuberay/ray-operator/config/default?ref=v0.3.0&timeout=90s\""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion ray-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ An example ray code is defined in this [configmap](config/samples/config-map-ray
### Deploy the operator

```shell
kubectl apply -k "github.com/ray-project/kuberay/ray-operator/config/default"
kubectl create -k "github.com/ray-project/kuberay/ray-operator/config/default?ref=v0.3.0&timeout=90s"
```

Check that the controller is running.
Expand Down

0 comments on commit e85fa3c

Please sign in to comment.