-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RORDEV-1055] ECK example: ECK 2.10, ES&KBN 8.11.1, ROR 1.53.0 (#962)
- Loading branch information
Showing
11 changed files
with
44 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
FROM docker.elastic.co/elasticsearch/elasticsearch:8.8.2 | ||
COPY ror-es.zip /tmp | ||
RUN bin/elasticsearch-plugin install -b file:///tmp/ror-es.zip | ||
FROM docker.elastic.co/elasticsearch/elasticsearch:8.11.1 | ||
RUN bin/elasticsearch-plugin install --batch "https://api.beshu.tech/download/es?esVersion=8.11.1&pluginVersion=1.53.0&email=eck-example%40readonlyrest.com" | ||
USER root | ||
RUN /usr/share/elasticsearch/jdk/bin/java -jar /usr/share/elasticsearch/plugins/readonlyrest/ror-tools.jar patch | ||
USER elasticsearch | ||
USER 1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
FROM docker.elastic.co/kibana/kibana:8.8.2 | ||
RUN bin/kibana-plugin install "https://api.beshu.tech/download/kbn?esVersion=8.8.2&pluginVersion=1.49.1&edition=kbn_universal&email=support%40readonlyrest.com" | ||
RUN node/bin/node plugins/readonlyrestkbn/ror-tools.js patch | ||
FROM docker.elastic.co/kibana/kibana:8.11.1 | ||
RUN bin/kibana-plugin install "https://api.beshu.tech/download/kbn?esVersion=8.11.1&pluginVersion=1.53.0&edition=kbn_universal&email=eck-example%40readonlyrest.com" | ||
RUN node/bin/node plugins/readonlyrestkbn/ror-tools.js patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash -e | ||
|
||
docker buildx build --platform=linux/arm64,linux/amd64 --push -t coutopl/es_8.8.2_ror_1.50.0-pre2:latest -f Dockerfile-es . | ||
docker buildx build --platform=linux/arm64,linux/amd64 --push -t coutopl/es_8.11.1_ror_1.53.0:latest -f Dockerfile-es . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash -e | ||
|
||
docker buildx build --platform=linux/arm64,linux/amd64 --push -t coutopl/kbn_8.8.2_ror_1.49.1:latest -f Dockerfile-kbn . | ||
docker buildx build --platform=linux/arm64,linux/amd64 --push -t coutopl/kbn_8.11.1_ror_1.53.0:latest -f Dockerfile-kbn . |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash -e | ||
|
||
kubectl create -f https://download.elastic.co/downloads/eck/2.7.0/crds.yaml | ||
kubectl apply -f https://download.elastic.co/downloads/eck/2.7.0/operator.yaml | ||
kubectl create -f https://download.elastic.co/downloads/eck/2.10.0/crds.yaml | ||
kubectl apply -f https://download.elastic.co/downloads/eck/2.10.0/operator.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# README | ||
|
||
O. Requirements: | ||
* docker installed | ||
* kind tool installed (https://github.com/kubernetes-sigs/kind) | ||
0. Requirements: | ||
* docker installed | ||
* kind tool installed (https://github.com/kubernetes-sigs/kind) | ||
|
||
1. Running the ECK+ROR PoC: `$ ./eck-ror-bootstrap.sh` | ||
|
||
1. Running the ECK+ROR PoC: | ||
2. Log into Kibana `https://localhost:15601` using given credentials: | ||
* `admin:admin` (admin user) | ||
* `user1:test` (RO user) | ||
|
||
`./eck-ror-bootstrap.sh` | ||
|
||
2. Cleaning after playing with the PoC: | ||
|
||
`./eck-ror-cleanup.sh` | ||
3. Clean after playing with the PoC: `$ ./eck-ror-cleanup.sh` |