Skip to content

Commit

Permalink
Remove Istio example (#163)
Browse files Browse the repository at this point in the history
The Istio example doesn't work properly. It is better to route
users to Istio documentation so they can set it up properly.

We can revisit adding the example later if there is a working
example.

Co-authored-by: Praveen raj Mani <[email protected]>
  • Loading branch information
nitisht and Praveenrajmani authored Jul 3, 2020
1 parent 10aea68 commit 04cea51
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 40 deletions.
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,6 @@ kubectl apply -f https://raw.githubusercontent.com/minio/minio-operator/master/e

Add an [external service](https://kubernetes.io/docs/concepts/services-networking/service/) in MinIOInstance definition to enable Service based access to the MinIOInstance pods. Refer [the example here](https://github.com/minio/minio-operator/blob/master/examples/minioinstance.yaml?raw=true) for details on how to setup service based access for MinIOInstance pods.

### Advanced: Expose MinIO via Istio

Istio >= 1.4 has support for headless Services, so instead of creating an explicit `Service` for the created MinIO instance, you can also directly target the headless Service that is created by the operator.

For example, to expose the created headless Service `minio-hl-svc` on http://minio.example.com:

```
kubectl apply -f https://raw.githubusercontent.com/minio/minio-operator/master/examples/expose-via-istio.yaml
```

### Environment variables

These variables may be passed to operator Deployment in order to modify some of its parameters
Expand All @@ -76,3 +66,4 @@ These variables may be passed to operator Deployment in order to modify some of
- [Use `mc` with MinIO Server](https://docs.min.io/docs/minio-client-quickstart-guide)
- [Use `aws-cli` with MinIO Server](https://docs.min.io/docs/aws-cli-with-minio)
- [The MinIO documentation website](https://docs.min.io)
- Expose MinIO via Istio: Istio >= 1.4 has support for headless Services, so instead of creating an explicit `Service` for the created MinIO instance, you can also directly target the headless Service that is created by the operator. Use [Istio Ingress Gateway](https://istio.io/latest/docs/tasks/traffic-management/ingress/ingress-control/) to configure Istio to expose the MinIO service outside of the service mesh.
30 changes: 0 additions & 30 deletions examples/expose-via-istio.yaml

This file was deleted.

0 comments on commit 04cea51

Please sign in to comment.