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

Commit b3fcb2f

Browse files
authored
Merge pull request #136 from opendistro/1.2.1
Preparing for 1.2.1
2 parents 6976ce5 + 399e26a commit b3fcb2f

File tree

16 files changed

+72
-42
lines changed

16 files changed

+72
-42
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,25 @@ This repository contains the documentation for Open Distro for Elasticsearch, a
4949
1. Push your changes, and submit a pull request.
5050

5151

52+
## New releases
53+
54+
1. Branch.
55+
1. Run a find and replace for `:x.y.z` and `-x.y.z` and replace with the new version string.
56+
1. Run a find for the underlying Elasticsearch version and update it as necessary (probably just `docs/install/deb.md`).
57+
1. Start up a new cluster using the updated Docker Compose file in `docs/install/docker.md`.
58+
1. Update the version table in `version-history.md`.
59+
60+
Use `curl -XGET https://localhost:9200 -u admin:admin -k` to verify the Elasticsearch version.
61+
62+
1. Update the plugin compatibility table in `docs/install/plugin.md`.
63+
64+
Use `curl -XGET https://localhost:9200/_cat/plugins -u admin:admin -k` to get the correct version strings.
65+
66+
1. Verify that the individual plugin download links in `docs/install/plugins.md` and `docs/kibana/plugins.md` work.
67+
1. Run a build and look for any warnings or errors you introduced.
68+
1. Submit a PR.
69+
70+
5271
## Content guidelines
5372

5473
1. Try to stay consistent with existing content.

docs/elasticsearch/snapshot-restore.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ readonly | Whether the repository is read-only. Useful when migrating from one c
101101
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:
102102

103103
```
104-
FROM amazon/opendistro-for-elasticsearch:1.2.0
104+
FROM amazon/opendistro-for-elasticsearch:1.2.1
105105

106106
ENV AWS_ACCESS_KEY_ID <access-key>
107107
ENV AWS_SECRET_ACCESS_KEY <secret-key>

docs/install/deb.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ These steps assume you're using Ubuntu 18.04.
3737
1. Install Elasticsearch OSS:
3838

3939
```bash
40-
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-7.2.0-amd64.deb
41-
sudo dpkg -i elasticsearch-oss-7.2.0-amd64.deb
40+
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-7.2.1-amd64.deb
41+
sudo dpkg -i elasticsearch-oss-7.2.1-amd64.deb
4242
```
4343

4444
1. Install the latest version of Open Distro for Elasticsearch:

docs/install/docker-security.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Before deploying to a production environment, you should replace the demo securi
1616
version: '3'
1717
services:
1818
odfe-node1:
19-
image: amazon/opendistro-for-elasticsearch:1.2.0
19+
image: amazon/opendistro-for-elasticsearch:1.2.1
2020
container_name: odfe-node1
2121
environment:
2222
- cluster.name=odfe-cluster
@@ -52,7 +52,7 @@ services:
5252
networks:
5353
- odfe-net
5454
odfe-node2:
55-
image: amazon/opendistro-for-elasticsearch:1.2.0
55+
image: amazon/opendistro-for-elasticsearch:1.2.1
5656
container_name: odfe-node2
5757
environment:
5858
- cluster.name=odfe-cluster
@@ -85,7 +85,7 @@ services:
8585
networks:
8686
- odfe-net
8787
kibana:
88-
image: amazon/opendistro-for-elasticsearch-kibana:1.2.0
88+
image: amazon/opendistro-for-elasticsearch-kibana:1.2.1
8989
container_name: odfe-kibana
9090
ports:
9191
- 5601:5601

docs/install/docker.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ nav_order: 1
1010
You can pull the Open Distro for Elasticsearch Docker image just like any other image:
1111

1212
```bash
13-
docker pull amazon/opendistro-for-elasticsearch:1.2.0
14-
docker pull amazon/opendistro-for-elasticsearch-kibana:1.2.0
13+
docker pull amazon/opendistro-for-elasticsearch:1.2.1
14+
docker pull amazon/opendistro-for-elasticsearch-kibana:1.2.1
1515
```
1616

1717
To check available versions, see [Docker Hub](https://hub.docker.com/r/amazon/opendistro-for-elasticsearch/tags).
@@ -33,7 +33,7 @@ Open Distro for Elasticsearch images use `centos:7` as the base image. If you ru
3333
To run the image for local development:
3434

3535
```bash
36-
docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" amazon/opendistro-for-elasticsearch:1.2.0
36+
docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" amazon/opendistro-for-elasticsearch:1.2.1
3737
```
3838

3939
Then send requests to the server to verify that Elasticsearch is up and running:
@@ -86,7 +86,7 @@ This sample file starts two data nodes and Kibana.
8686
version: '3'
8787
services:
8888
odfe-node1:
89-
image: amazon/opendistro-for-elasticsearch:1.2.0
89+
image: amazon/opendistro-for-elasticsearch:1.2.1
9090
container_name: odfe-node1
9191
environment:
9292
- cluster.name=odfe-cluster
@@ -110,7 +110,7 @@ services:
110110
networks:
111111
- odfe-net
112112
odfe-node2:
113-
image: amazon/opendistro-for-elasticsearch:1.2.0
113+
image: amazon/opendistro-for-elasticsearch:1.2.1
114114
container_name: odfe-node2
115115
environment:
116116
- cluster.name=odfe-cluster
@@ -131,7 +131,7 @@ services:
131131
networks:
132132
- odfe-net
133133
kibana:
134-
image: amazon/opendistro-for-elasticsearch-kibana:1.2.0
134+
image: amazon/opendistro-for-elasticsearch-kibana:1.2.1
135135
container_name: odfe-kibana
136136
ports:
137137
- 5601:5601
@@ -164,7 +164,7 @@ docker run \
164164
-p 9200:9200 -p 9600:9600 \
165165
-e "discovery.type=single-node" \
166166
-v /<full-path-to>/custom-elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml \
167-
amazon/opendistro-for-elasticsearch:1.2.0
167+
amazon/opendistro-for-elasticsearch:1.2.1
168168
```
169169

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

222222
```
223-
FROM amazon/opendistro-for-elasticsearch:1.2.0
223+
FROM amazon/opendistro-for-elasticsearch:1.2.1
224224
RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install --batch <plugin-name-or-url>
225225
```
226226

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

236236
```
237-
FROM amazon/opendistro-for-elasticsearch:1.2.0
237+
FROM amazon/opendistro-for-elasticsearch:1.2.1
238238
COPY --chown=elasticsearch:elasticsearch elasticsearch.yml /usr/share/elasticsearch/config/
239239
COPY --chown=elasticsearch:elasticsearch my-key-file.pem /usr/share/elasticsearch/config/
240240
COPY --chown=elasticsearch:elasticsearch my-certificate-chain.pem /usr/share/elasticsearch/config/

docs/install/plugins.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@ If you don't want to use the all-in-one Open Distro for Elasticsearch installati
2929
</tr>
3030
</thead>
3131
<tbody>
32+
<tr>
33+
<td>7.2.1</td>
34+
<td>
35+
<pre>opendistro-job-scheduler 1.2.1
36+
opendistro_alerting 1.2.1.0
37+
opendistro_performance_analyzer 1.2.1.0
38+
opendistro_security 1.2.1.0
39+
opendistro_sql 1.2.1.0</pre>
40+
</td>
41+
</tr>
3242
<tr>
3343
<td>7.2.0</td>
3444
<td>
@@ -119,7 +129,7 @@ Navigate to the Elasticsearch home directory (most likely, it is `/usr/share/ela
119129
### Security
120130

121131
```bash
122-
sudo bin/elasticsearch-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-security/opendistro_security-1.2.0.0.zip
132+
sudo bin/elasticsearch-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-security/opendistro_security-1.2.1.0.zip
123133
```
124134

125135
After installing the Security plugin, you can run `sudo sh /usr/share/elasticsearch/plugins/opendistro_security/tools/install_demo_configuration.sh` to quickly get started with demo certificates. Otherwise, you must configure it manually and run [securityadmin.sh](../../security-configuration/security-admin/).
@@ -130,7 +140,7 @@ Security has a corresponding [Kibana plugin](../../kibana/plugins) that you prob
130140
### Alerting
131141

132142
```bash
133-
sudo bin/elasticsearch-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-alerting/opendistro_alerting-1.2.0.0.zip
143+
sudo bin/elasticsearch-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-alerting/opendistro_alerting-1.2.1.0.zip
134144
```
135145

136146
Alerting has a corresponding [Kibana plugin](../../kibana/plugins) that you probably want to install as well.
@@ -139,7 +149,7 @@ Alerting has a corresponding [Kibana plugin](../../kibana/plugins) that you prob
139149
### SQL
140150

141151
```bash
142-
sudo bin/elasticsearch-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-sql/opendistro_sql-1.2.0.0.zip
152+
sudo bin/elasticsearch-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-sql/opendistro_sql-1.2.1.0.zip
143153
```
144154

145155
### Index State Management
@@ -162,7 +172,7 @@ To test this plugin, clone [the anomaly detection repository](https://github.com
162172
### Performance Analyzer
163173

164174
```bash
165-
sudo bin/elasticsearch-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/performance-analyzer/opendistro_performance_analyzer-1.2.0.0.zip
175+
sudo bin/elasticsearch-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/performance-analyzer/opendistro_performance_analyzer-1.2.1.0.zip
166176
```
167177

168178
Performance Analyzer requires some manual configuration after installing the plugin:

docs/install/rpm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Installing and running Open Distro for Elasticsearch from an RPM package is a mo
3535
1. Choose the version you'd like and install it:
3636

3737
```bash
38-
sudo yum install opendistroforelasticsearch-1.2.0
38+
sudo yum install opendistroforelasticsearch-1.2.1
3939
```
4040

4141
1. **If you installed Java 8**, run the following command:

docs/install/tar.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ The tarball supports CentOS 7, Amazon Linux 2, Ubuntu 18.04, and most other Linu
1414
1. Download the tarball:
1515

1616
```bash
17-
curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistro-elasticsearch/opendistroforelasticsearch-1.2.0.tar.gz -o opendistroforelasticsearch-1.2.0.tar.gz
17+
curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistro-elasticsearch/opendistroforelasticsearch-1.2.1.tar.gz -o opendistroforelasticsearch-1.2.1.tar.gz
1818
```
1919

2020
1. Download the checksum:
2121

2222
```bash
23-
curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistro-elasticsearch/opendistroforelasticsearch-1.2.0.tar.gz.sha512 -o opendistroforelasticsearch-1.2.0.tar.gz.sha512
23+
curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistro-elasticsearch/opendistroforelasticsearch-1.2.1.tar.gz.sha512 -o opendistroforelasticsearch-1.2.1.tar.gz.sha512
2424
```
2525

2626
1. Verify the tarball against the checksum:
2727

2828
```bash
29-
shasum -a 512 -c opendistroforelasticsearch-1.2.0.tar.gz.sha512
29+
shasum -a 512 -c opendistroforelasticsearch-1.2.1.tar.gz.sha512
3030
```
3131

3232
On CentOS, you might not have `shasum`. Install this package:
@@ -38,8 +38,8 @@ The tarball supports CentOS 7, Amazon Linux 2, Ubuntu 18.04, and most other Linu
3838
1. Extract the TAR file to a directory and change to that directory:
3939

4040
```bash
41-
tar -zxf opendistroforelasticsearch-1.2.0.tar.gz
42-
cd opendistroforelasticsearch-1.2.0
41+
tar -zxf opendistroforelasticsearch-1.2.1.tar.gz
42+
cd opendistroforelasticsearch-1.2.1
4343
```
4444

4545
1. Run Open Distro for Elasticsearch:

docs/kibana/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Kibana is the default visualization tool for data in Elasticsearch. It also serv
1515

1616
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.
1717

18-
1. Run `docker pull amazon/opendistro-for-elasticsearch-kibana:1.2.0`.
18+
1. Run `docker pull amazon/opendistro-for-elasticsearch-kibana:1.2.1`.
1919

2020
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).
2121

@@ -59,19 +59,19 @@ You can also modify the values in `/etc/kibana/kibana.yml`.
5959
1. Download the tarball:
6060

6161
```bash
62-
curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistroforelasticsearch-kibana/opendistroforelasticsearch-kibana-1.2.0.tar.gz -o opendistroforelasticsearch-kibana-1.2.0.tar.gz
62+
curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistroforelasticsearch-kibana/opendistroforelasticsearch-kibana-1.2.1.tar.gz -o opendistroforelasticsearch-kibana-1.2.1.tar.gz
6363
```
6464

6565
1. Download the checksum:
6666

6767
```bash
68-
curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistroforelasticsearch-kibana/opendistroforelasticsearch-kibana-1.2.0.tar.gz.sha512 -o opendistroforelasticsearch-kibana-1.2.0.tar.gz.sha512
68+
curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistroforelasticsearch-kibana/opendistroforelasticsearch-kibana-1.2.1.tar.gz.sha512 -o opendistroforelasticsearch-kibana-1.2.1.tar.gz.sha512
6969
```
7070

7171
1. Verify the tarball against the checksum:
7272

7373
```bash
74-
shasum -a 512 -c opendistroforelasticsearch-kibana-1.2.0.tar.gz.sha512
74+
shasum -a 512 -c opendistroforelasticsearch-kibana-1.2.1.tar.gz.sha512
7575
```
7676

7777
On CentOS, you might not have `shasum`. Install this package:
@@ -83,7 +83,7 @@ You can also modify the values in `/etc/kibana/kibana.yml`.
8383
1. Extract the TAR file to a directory and change to that directory:
8484

8585
```bash
86-
tar -zxf opendistroforelasticsearch-kibana-1.2.0.tar.gz
86+
tar -zxf opendistroforelasticsearch-kibana-1.2.1.tar.gz
8787
cd opendistroforelasticsearch-kibana
8888
```
8989

docs/kibana/plugins.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Navigate to the Kibana home directory (likely `/usr/share/kibana`) and run the i
2525
#### Security
2626

2727
```bash
28-
sudo bin/kibana-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/kibana-plugins/opendistro-security/opendistro_security_kibana_plugin-1.2.0.0.zip
28+
sudo bin/kibana-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/kibana-plugins/opendistro-security/opendistro_security_kibana_plugin-1.2.1.0.zip
2929
```
3030

3131
This plugin provides a user interface for managing users, roles, mappings, action groups, and tenants.
@@ -34,7 +34,7 @@ This plugin provides a user interface for managing users, roles, mappings, actio
3434
#### Alerting
3535

3636
```bash
37-
sudo bin/kibana-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/kibana-plugins/opendistro-alerting/opendistro-alerting-1.2.0.0.zip
37+
sudo bin/kibana-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/kibana-plugins/opendistro-alerting/opendistro-alerting-1.2.1.0.zip
3838
```
3939

4040
This plugin provides a user interface for creating monitors and managing alerts.

0 commit comments

Comments
 (0)