Skip to content

Commit

Permalink
update install docs for Ansible (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
ukclivecox authored May 9, 2022
1 parent 5dec734 commit 52758b3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
15 changes: 10 additions & 5 deletions ansible/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Ansible Setup for Seldon Core V2
## Ansible Setup for Seldon Core V2

To use these playbooks follow the installation of the Ansible collection at https://github.com/SeldonIO/ansible-k8s-collection
```bash
Expand All @@ -7,14 +7,16 @@ ansible-galaxy collection install git+https://github.com/SeldonIO/ansible-k8s-co

Once installed you can use the following Playbooks.

## Create Kind Cluster
### Create Kind Cluster

```bash
ansible-playbook playbooks/kind_cluster.yaml
```


## Setup Ecosystem
### Setup Ecosystem

Run the following from the ansible folder:

```bash
ansible-playbook playbooks/setup-ecosystem.yaml
Expand All @@ -24,7 +26,7 @@ ansible-playbook playbooks/setup-ecosystem.yaml

The ecosystem setup can be parametrized by providing extra Ansible variables, e.g. using `-e` flag to `ansible-playbook` command.

For example
For example run the following from the ansible folder:
```bash
ansible-playbook playbooks/setup-ecosystem.yaml -e full_install=no -e install_kafka=yes
```
Expand All @@ -45,7 +47,10 @@ will only install Kafka when setting up the ecosystem.
| configure_opentelemetry | bool | {{ install_opentelemetry }} | configure OpenTelemetry using V2 specific resources |


## Install Seldon Core V2
### Install Seldon Core V2

Run the following from the ansible folder:

```bash
ansible-playbook playbooks/setup-seldon-v2.yaml
```
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Kubernetes Installation

## Preparation
For Kubernetes installation we provide Ansible playbooks for the core ecosystem and the install.

```{include} ../../../../../ansible/README.md
```

## Top-level Makefile

### Preparation

1. Git clone seldon-core-v2
git clone https://github.com/SeldonIO/seldon-core-v2
Expand All @@ -9,21 +16,21 @@
4. Install `make`.


## Extra Optional Requirements
### Extra Optional Requirements

* To gain access to metrics you will need to install Prometheus.
* To run Pipelines you will need to install Kafka.
* To expose inference outside the cluster you will need to integration a service mesh of your choice. Some examples for Istio, Traefik and Ambassador are provided. We welcome help to extend these examples to other service meshes.

## Deploy
### Deploy

From the project root run:

```
make deploy-k8s
```

## Undeploy
### Undeploy

From the project root run:

Expand Down

0 comments on commit 52758b3

Please sign in to comment.