Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Commit

Permalink
Merge pull request #41 from opendistro/0.8.0
Browse files Browse the repository at this point in the history
Preparing for 0.8.0
  • Loading branch information
aetter authored Apr 5, 2019
2 parents 3daa07b + 31a5840 commit 3d33d8b
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 19 deletions.
2 changes: 1 addition & 1 deletion docs/elasticsearch/snapshot-restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ readonly | Whether the repository is read-only. Useful when migrating from one c
If you're using the Docker installation, see [Run with custom plugins](../../install/docker/#run-with-custom-plugins). Your `Dockerfile` should look something like this:

```
FROM amazon/opendistro-for-elasticsearch:0.7.1
FROM amazon/opendistro-for-elasticsearch:0.8.0

ENV AWS_ACCESS_KEY_ID <access-key>
ENV AWS_SECRET_ACCESS_KEY <secret-key>
Expand Down
6 changes: 3 additions & 3 deletions docs/install/docker-security.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Before deploying to a production environment, you should replace the demo securi
version: '3'
services:
odfe-node1:
image: amazon/opendistro-for-elasticsearch:0.7.1
image: amazon/opendistro-for-elasticsearch:0.8.0
container_name: odfe-node1
environment:
- cluster.name=odfe-cluster
Expand All @@ -42,7 +42,7 @@ services:
networks:
- odfe-net
odfe-node2:
image: amazon/opendistro-for-elasticsearch:0.7.1
image: amazon/opendistro-for-elasticsearch:0.8.0
container_name: odfe-node2
environment:
- cluster.name=odfe-cluster
Expand All @@ -66,7 +66,7 @@ services:
networks:
- odfe-net
kibana:
image: amazon/opendistro-for-elasticsearch-kibana:0.7.1
image: amazon/opendistro-for-elasticsearch-kibana:0.8.0
container_name: odfe-kibana
ports:
- 5601:5601
Expand Down
18 changes: 9 additions & 9 deletions docs/install/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ nav_order: 1
You can pull the Open Distro for Elasticsearch Docker image just like any other image:

```bash
docker pull amazon/opendistro-for-elasticsearch:0.7.1
docker pull amazon/opendistro-for-elasticsearch-kibana:0.7.1
docker pull amazon/opendistro-for-elasticsearch:0.8.0
docker pull amazon/opendistro-for-elasticsearch-kibana:0.8.0
```

Open Distro for Elasticsearch images use `centos:7` as the base image.
Expand All @@ -31,7 +31,7 @@ Open Distro for Elasticsearch images use `centos:7` as the base image.
To run the image for local development:

```bash
docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" amazon/opendistro-for-elasticsearch:0.7.1
docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" amazon/opendistro-for-elasticsearch:0.8.0
```

Then send requests to the server to verify that Elasticsearch is up and running:
Expand Down Expand Up @@ -84,7 +84,7 @@ This sample file starts two data nodes and Kibana. If you're running Docker loca
version: '3'
services:
odfe-node1:
image: amazon/opendistro-for-elasticsearch:0.7.1
image: amazon/opendistro-for-elasticsearch:0.8.0
container_name: odfe-node1
environment:
- cluster.name=odfe-cluster
Expand All @@ -102,7 +102,7 @@ services:
networks:
- odfe-net
odfe-node2:
image: amazon/opendistro-for-elasticsearch:0.7.1
image: amazon/opendistro-for-elasticsearch:0.8.0
container_name: odfe-node2
environment:
- cluster.name=odfe-cluster
Expand All @@ -118,7 +118,7 @@ services:
networks:
- odfe-net
kibana:
image: amazon/opendistro-for-elasticsearch-kibana:0.7.1
image: amazon/opendistro-for-elasticsearch-kibana:0.8.0
container_name: odfe-kibana
ports:
- 5601:5601
Expand Down Expand Up @@ -150,7 +150,7 @@ docker run \
-p 9200:9200 -p 9600:9600 \
-e "discovery.type=single-node" \
-v /<full-path-to>/custom-elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml \
amazon/opendistro-for-elasticsearch:0.7.1
amazon/opendistro-for-elasticsearch:0.8.0
```

You can perform the same operation in `docker-compose.yml` using a relative path:
Expand Down Expand Up @@ -206,7 +206,7 @@ The `docker-compose.yml` file above also contains several key settings: `bootstr
To run the image with a custom plugin, first create a [`Dockerfile`](https://docs.docker.com/engine/reference/builder/):

```
FROM amazon/opendistro-for-elasticsearch:0.7.1
FROM amazon/opendistro-for-elasticsearch:0.8.0
RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install --batch <plugin-name-or-url>
```

Expand All @@ -220,7 +220,7 @@ docker run -p 9200:9200 -p 9600:9600 -v /usr/share/elasticsearch/data odfe-custo
You can also use a `Dockerfile` to pass your own certificates for use with the [Security](../../security/) plugin, similar to the `-v` argument in [Configure Elasticsearch](#configure-elasticsearch):

```
FROM amazon/opendistro-for-elasticsearch:0.7.1
FROM amazon/opendistro-for-elasticsearch:0.8.0
COPY --chown=elasticsearch:elasticsearch elasticsearch.yml /usr/share/elasticsearch/config/
COPY --chown=elasticsearch:elasticsearch my-key-file.pem /usr/share/elasticsearch/config/
COPY --chown=elasticsearch:elasticsearch my-certificate-chain.pem /usr/share/elasticsearch/config/
Expand Down
2 changes: 1 addition & 1 deletion docs/kibana/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Kibana is the default visualization tool for data in Elasticsearch. It also serv

You *can* start Kibana using `docker run` after [creating a Docker network](https://docs.docker.com/engine/reference/commandline/network_create/) and starting Elasticsearch, but the process of connecting Kibana to Elasticsearch is significantly easier with a Docker Compose file.

1. Run `docker pull amazon/opendistro-for-elasticsearch-kibana:0.7.1`.
1. Run `docker pull amazon/opendistro-for-elasticsearch-kibana:0.8.0`.

1. Create a [`docker-compose.yml`](https://docs.docker.com/compose/compose-file/) file appropriate for your environment. A sample file that includes Kibana is available on the Open Distro for Elasticsearch [Docker installation page](../install/docker/#sample-docker-compose-file).

Expand Down
4 changes: 2 additions & 2 deletions docs/security/disable.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ After the removal of any plugin, Kibana performs an "optimize" operation the nex
1. Create a new `Dockerfile`:

```
FROM amazon/opendistro-for-elasticsearch-kibana:0.7.1
FROM amazon/opendistro-for-elasticsearch-kibana:0.8.0
RUN /usr/share/kibana/bin/kibana-plugin remove opendistro_security
```

Expand All @@ -51,7 +51,7 @@ After the removal of any plugin, Kibana performs an "optimize" operation the nex
docker build --tag=kibana-no-security .
```

1. In `docker-compose.yml`, change `amazon/opendistro-for-elasticsearch-kibana:0.7.1` to `kibana-no-security`.
1. In `docker-compose.yml`, change `amazon/opendistro-for-elasticsearch-kibana:0.8.0` to `kibana-no-security`.
1. Change `ELASTICSEARCH_URL` (`docker-compose.yml`) or `elasticsearch.url` (your custom `kibana.yml`) to `http://` rather than `https://`.
1. Remove all `opendistro_security` lines from `kibana.yml`.
1. `docker-compose up`.
7 changes: 4 additions & 3 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ Docker
{: .label .label-green }

1. Install and start [Docker Desktop](https://www.docker.com/products/docker-desktop).
1. `docker pull amazon/opendistro-for-elasticsearch:0.7.1`
1. `docker pull amazon/opendistro-for-elasticsearch-kibana:0.7.1`
1. `docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" amazon/opendistro-for-elasticsearch:0.7.1`
1. `docker pull amazon/opendistro-for-elasticsearch:0.8.0`
1. `docker pull amazon/opendistro-for-elasticsearch-kibana:0.8.0`
1. `docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" amazon/opendistro-for-elasticsearch:0.8.0`
1. In a new terminal session, run:

`curl -XGET --insecure https://localhost:9200 -u admin:admin`
Expand All @@ -65,6 +65,7 @@ To learn more, see [Install](docs/install/).

Open Distro for Elasticsearch version | Release highlights | Elasticsearch version
:--- | :--- | :---
0.8.0 | Bumps Elasticsearch version. | 6.6.2
0.7.1 | Fixes Kibana multitenancy. | 6.5.4
0.7.0 | Initial release. | 6.5.4

Expand Down

0 comments on commit 3d33d8b

Please sign in to comment.