-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates @pavolloffay's code to add custom ILM in index templates
- Loading branch information
1 parent
d825303
commit a53c4d7
Showing
5 changed files
with
233 additions
and
203 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
FROM jaegertracing/jaeger-es-rollover | ||
ARG ROLLOVER_IMAGE_VERSION | ||
FROM jaegertracing/jaeger-es-rollover:${ROLLOVER_IMAGE_VERSION} | ||
COPY esRollover.py /es-rollover/ | ||
COPY ./mappings/* /mappings/ |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
DOCKER_REGISTRY := bhiravabhatla | ||
IMAGE_NAME := jaeger-es-rollover-init | ||
IMAGE_TAG := 1.0 | ||
ROLLOVER_IMAGE_VERSION := latest | ||
|
||
build: | ||
docker image build . --no-cache --build-arg ROLLOVER_IMAGE_VERSION=$(ROLLOVER_IMAGE_VERSION) -t $(DOCKER_REGISTRY)/$(IMAGE_NAME):$(IMAGE_TAG) | ||
|
||
run: | ||
docker run -it --rm --net=host bhiravabhatla/jaeger-es-rollover-init:latest init $(ES_HOST) | ||
|
||
publish: | ||
docker push $(DOCKER_REGISTRY)/$(IMAGE_NAME):$(IMAGE_TAG) |
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
Oops, something went wrong.