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
6b3284ac
Commit
6b3284ac
authored
Jan 13, 2017
by
Janis Meybohm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use $HOSTNAME as node.name by default
Allows to identify elasticsearch instances more easily. As $HOSTNAME of a pod is unique, this should be no problem.
parent
ba611194
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
elasticsearch.yml
...s/fluentd-elasticsearch/es-image/config/elasticsearch.yml
+1
-0
run.sh
cluster/addons/fluentd-elasticsearch/es-image/run.sh
+1
-0
No files found.
cluster/addons/fluentd-elasticsearch/es-image/config/elasticsearch.yml
View file @
6b3284ac
cluster.name
:
kubernetes-logging
cluster.name
:
kubernetes-logging
node.name
:
${NODE_NAME}
node.master
:
${NODE_MASTER}
node.master
:
${NODE_MASTER}
node.data
:
${NODE_DATA}
node.data
:
${NODE_DATA}
...
...
cluster/addons/fluentd-elasticsearch/es-image/run.sh
View file @
6b3284ac
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
export
NODE_NAME
=
${
NODE_NAME
:-${
HOSTNAME
}}
export
NODE_MASTER
=
${
NODE_MASTER
:-
true
}
export
NODE_MASTER
=
${
NODE_MASTER
:-
true
}
export
NODE_DATA
=
${
NODE_DATA
:-
true
}
export
NODE_DATA
=
${
NODE_DATA
:-
true
}
export
HTTP_PORT
=
${
HTTP_PORT
:-
9200
}
export
HTTP_PORT
=
${
HTTP_PORT
:-
9200
}
...
...
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