Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
dc31c584
Commit
dc31c584
authored
Apr 28, 2015
by
Satnam Singh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgrade Elasticsearch to 1.5.2 for cluster logging
parent
f8569dc5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
14 deletions
+17
-14
Dockerfile
cluster/addons/fluentd-elasticsearch/es-image/Dockerfile
+6
-5
Makefile
cluster/addons/fluentd-elasticsearch/es-image/Makefile
+2
-2
elasticsearch.yml
...r/addons/fluentd-elasticsearch/es-image/elasticsearch.yml
+9
-7
No files found.
cluster/addons/fluentd-elasticsearch/es-image/Dockerfile
View file @
dc31c584
...
@@ -12,16 +12,17 @@ RUN apt-get update && \
...
@@ -12,16 +12,17 @@ RUN apt-get update && \
apt-get clean
apt-get clean
RUN
cd
/
&&
\
RUN
cd
/
&&
\
curl
-O
https://download.elastic
search.org/elasticsearch/elasticsearch/elasticsearch-1.4.4
.tar.gz
&&
\
curl
-O
https://download.elastic
.co/elasticsearch/elasticsearch/elasticsearch-1.5.2
.tar.gz
&&
\
tar
xf elasticsearch-1.
4.4
.tar.gz
&&
\
tar
xf elasticsearch-1.
5.2
.tar.gz
&&
\
mv
elasticsearch-1.
4.4
/elasticsearch
&&
\
mv
elasticsearch-1.
5.2
/elasticsearch
&&
\
rm
-rf
elasticsearch-1.4.4
.tar.gz
rm
elasticsearch-1.5.2
.tar.gz
ADD
elasticsearch.yml /elasticsearch/config/elasticsearch.yml
ADD
elasticsearch.yml /elasticsearch/config/elasticsearch.yml
VOLUME
["/data"]
VOLUME
["/data"]
WORKDIR
/data
WORKDIR
/data
CMD
["/elasticsearch/bin/elasticsearch"]
EXPOSE
9200
EXPOSE
9200
EXPOSE
9300
EXPOSE
9300
CMD
["/elasticsearch/bin/elasticsearch"]
cluster/addons/fluentd-elasticsearch/es-image/Makefile
View file @
dc31c584
.PHONY
:
build push
.PHONY
:
build push
TAG
=
1.
0
TAG
=
1.
1
build
:
build
:
docker build
-t
gcr.io/google_containers/elasticsearch:
$(TAG)
.
docker build
-t
gcr.io/google_containers/elasticsearch:
$(TAG)
.
push
:
push
:
docker push gcr.io/google_containers/elasticsearch:
$(TAG)
gcloud preview
docker push gcr.io/google_containers/elasticsearch:
$(TAG)
cluster/addons/fluentd-elasticsearch/es-image/elasticsearch.yml
View file @
dc31c584
path
:
# These are the Kubernetes-specific settings that differ
data
:
/data/data
# from the default values.
logs
:
/data/log
cluster.name
:
kubernetes_logging
plugins
:
/data/plugins
work
:
/data/work
path.data
:
/data/data
cluster
:
path.work
:
/data/work
name
:
kubernetes_logging
path.logs
:
/data/logs
path.plugins
:
/data/plugins
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment