You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apiserver/README.md
+41-75Lines changed: 41 additions & 75 deletions
Original file line number
Diff line number
Diff line change
@@ -9,41 +9,21 @@ The KubeRay APIServer is an optional component that provides a layer of simplifi
9
9
10
10
## Installation
11
11
12
-
### Start a local apiserver
13
-
14
-
You can build and start the APIServer from scratch in your local environment with a single command. This will deploy all the necessary components to a local kind cluster.
15
-
16
-
```sh
17
-
make start-local-apiserver
18
-
```
12
+
### Install with Helm
19
13
20
-
The APIServer supports HTTP requests, so you can easily verify its successful startup by issuing two simple curl commands.
14
+
Ensure that the version of Helm is v3+. Currently, [existing CI tests](https://github.com/ray-project/kuberay/blob/master/.github/workflows/helm-lint.yaml) are based on Helm v3.4.1 and v3.9.4.
Ensure that the version of Helm is v3+. Currently, [existing CI tests](https://github.com/ray-project/kuberay/blob/master/.github/workflows/helm-lint.yaml) are based on Helm v3.4.1 and v3.9.4.
22
+
Create a local Kubernetes cluster using [Kind](https://kind.sigs.k8s.io/). If you already
23
+
have a Kubernetes cluster, you can skip this step.
44
24
45
25
```sh
46
-
helm version
26
+
kind create cluster --image=kindest/node:v1.26.0
47
27
```
48
28
49
29
#### Install KubeRay Operator
@@ -52,66 +32,52 @@ Refer to [this document](https://docs.ray.io/en/master/cluster/kubernetes/gettin
52
32
53
33
#### Install KubeRay APIServer
54
34
55
-
- Install a stable version via the Helm repository (supports KubeRay v0.4.0+ only)
35
+
Refer to [this document](../helm-chart/kuberay-apiserver/README.md#without-security-proxy) to install the latest
36
+
stable KubeRay operator and APIServer (without the security proxy) from the Helm
You can build and start the APIServer from scratch in your local environment with a single command. This will deploy all the necessary components to a local kind cluster.
98
55
99
56
```sh
100
-
helm ls
101
-
# NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
102
-
# kuberay-apiserver default 1 2023-09-25 10:42:34.267328 +0300 EEST deployed kuberay-apiserver-1.0.0
103
-
# kuberay-operator default 1 2023-09-25 10:41:48.355831 +0300 EEST deployed kuberay-operator-1.0.0
57
+
make start-local-apiserver
104
58
```
105
59
106
-
#### Uninstall the Chart
60
+
### Verify the installation
61
+
62
+
The APIServer supports HTTP requests, so you can easily verify its successful startup by issuing two simple curl commands.
@@ -122,7 +88,7 @@ After deployment, you can use the `{{baseUrl}}` to access the service. Refer to
122
88
123
89
- for ingress access, you will need to create your own ingress
124
90
125
-
Details of the request parameters can be found in [KubeRay Swagger](https://github.com/ray-project/kuberay/tree/master/proto/swagger). This document only provides basic examples.
91
+
Details of the request parameters can be found in [KubeRay Swagger](https://github.com/ray-project/kuberay/tree/master/proto/swagger). This README provides only basic examples.
0 commit comments