Skip to content

Commit

Permalink
add better note about minio example
Browse files Browse the repository at this point in the history
  • Loading branch information
RafalSkolasinski authored and seldondev committed Apr 15, 2020
1 parent e618805 commit 2aad252
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions doc/source/servers/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,15 @@ type: Opaque
data:
AWS_ACCESS_KEY_ID: XXXX
AWS_SECRET_ACCESS_KEY: XXXX
AWS_ENDPOINT: XXXX
AWS_ENDPOINT_URL: XXXX
USE_SSL: XXXX
```

You can also create the secret with the following command:

```
kubectl create secret generic seldon-init-container-secret \
--from-literal=AWS_ENDPOINT='XXXX' \
--from-literal=AWS_ENDPOINT_URL='XXXX' \
--from-literal=AWS_ACCESS_KEY_ID='XXXX' \
--from-literal=AWS_SECRET_ACCESS_KEY='XXXX' \
--from-literal=USE_SSL=false
Expand Down Expand Up @@ -173,7 +173,7 @@ executor:

It is also possible to provide an override value when you deploy your model using the SeldonDeploymen YAML. You can do this through the `envSecretRefName` value:

```
```yaml
apiVersion: machinelearning.seldon.io/v1alpha2
kind: SeldonDeployment
metadata:
Expand All @@ -191,6 +191,17 @@ spec:
replicas: 1
```
### Examples
#### MinIO running inside same Kubernetes cluster
Assuming that you have MinIO instance running on port `9000` avaible at `minio.minio-system.svc.cluster.local` and you want to reference bucket `mymodel` you would set
```
AWS_ENDPOINT_URL=http://minio.minio-system.svc.cluster.local:9000
```
with `modelUri` being set as `s3://mymodel`.
For full example please see this [notebook](../examples/minio-sklearn.html).
## Adding Credentials for Google Cloud
Currently the Google Credentials require a file to be set up so the process required involves creation of a service account as outlined below.
Expand Down

0 comments on commit 2aad252

Please sign in to comment.