Skip to content

Commit 46e3ce7

Browse files
authored
Merge pull request #156 from cliveseldon/install_guide
Add install guide
2 parents 2a0c858 + 0e6ce3a commit 46e3ce7

File tree

2 files changed

+73
-11
lines changed

2 files changed

+73
-11
lines changed

docs/install.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# Install Seldon-Core
2+
3+
To install seldon-core on a Kubernetes cluster you have several choices:
4+
5+
* Decide on which package manager to use, we support:
6+
* Helm
7+
* Ksonnet
8+
* Decide on how you wish APIs to be exposed, we support:
9+
* Ambassador reverse proxy
10+
* Seldon's builtin OAuth API Gateway
11+
* Decide on whether you wish to contribute anonymous usage metrics. We encourage you to allow anonymous usage metrics to help us improve the project by understanding the deployment environments. More details can be found [here](/docs/developer/readme.md#usage-reporting)
12+
* Does your kubernetes cluster have RBAC enabled?
13+
* If not then disable seldon RBAC setup
14+
15+
Follow one of the methods below:
16+
17+
## With Helm
18+
19+
* [Install Helm](https://docs.helm.sh)
20+
* [Optionally, Install Ambassador](https://www.getambassador.io)
21+
* Install Seldon CRD. Set:
22+
* ```usage_metrics.enabled``` as appropriate.
23+
24+
```
25+
helm install seldon-core-crd --name seldon-core-crd --repo https://storage.googleapis.com/seldon-charts \
26+
--set usage_metrics.enabled=true
27+
```
28+
* Install seldon-core components. Set
29+
* ```apife.enabled``` : (default true) set to ```false``` if you have installed Ambassador.
30+
* ```rbac.enabled``` : (default true) set to ```false``` if running an old Kubernetes cluster without RBAC.
31+
```
32+
helm install seldon-core --name seldon-core --repo https://storage.googleapis.com/seldon-charts \
33+
--set apife.enabled=<true|false> \
34+
--set rbac.enabled=<true|false>
35+
```
36+
37+
Notes
38+
39+
* You can use ```--namespace``` to install seldon-core to a particular namespace
40+
41+
## With Ksonnet
42+
43+
* [install Ksonnet](https://ksonnet.io/)
44+
* [Optionally, Install Ambassador](https://www.getambassador.io)
45+
* Create a seldon ksonnet app
46+
```
47+
ks init my-ml-deployment --api-spec=version:v1.8.0
48+
```
49+
* Install seldon-core. Set:
50+
* ```withApife``` set to ```false``` if you are using Ambassador
51+
* ```withRbac``` set to ```true``` if your cluster has RBAC enabled
52+
```
53+
cd my-ml-deployment && \
54+
ks registry add seldon-core github.com/SeldonIO/seldon-core/tree/master/seldon-core && \
55+
ks pkg install seldon-core/seldon-core@master && \
56+
ks generate seldon-core seldon-core \
57+
--withApife=<true|false> \
58+
--withRbac=<true|false>
59+
```
60+
* Launch components onto cluster
61+
```
62+
ks apply default
63+
```
64+
Notes
65+
66+
* You can use ```--namespace``` to install seldon-core to a particular namespace
67+
68+
## Other Options
69+
70+
### Install with kubeflow
71+
72+
* [Install Seldon as part of kubeflow.](https://github.com/kubeflow/kubeflow/blob/master/user_guide.md)

readme.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -83,17 +83,7 @@ Seldon-core allows various types of components to be built and plugged into the
8383

8484
## Install
8585

86-
Official releases can be installed via helm from the repository https://storage.googleapis.com/seldon-charts.
87-
88-
To install seldon-core, with optional [usage reporting](/docs/developer/readme.md#usage-reporting) on an RBAC enabled cluster:
89-
90-
```
91-
helm init
92-
helm install seldon-core-crd --name seldon-core-crd \
93-
--repo https://storage.googleapis.com/seldon-charts --set usage_metrics.enabled=true
94-
helm install seldon-core --name seldon-core --repo https://storage.googleapis.com/seldon-charts
95-
```
96-
86+
Follow the [install guide](docs/install.md) for details on ways to install seldon onto your Kubernetes cluster.
9787

9888
## Deployment Guide
9989

0 commit comments

Comments
 (0)