Added Kibana service
Change-Id: I3f2d539c4e73d8b545bf6af893f37fadc687522e
This commit is contained in:
parent
13ae6551fa
commit
14b0de6ff4
|
@ -0,0 +1,11 @@
|
|||
FROM {{ namespace }}/base-tools:{{ tag }}
|
||||
MAINTAINER {{ maintainer }}
|
||||
|
||||
RUN curl https://download.elastic.co/kibana/kibana/kibana_4.5.1_amd64.deb -o /tmp/kibana.deb \
|
||||
&& dpkg -i /tmp/kibana.deb \
|
||||
&& rm -f /tmp/kibana.deb
|
||||
|
||||
RUN usermod -a -G microservices kibana \
|
||||
&& chown -R kibana: /opt/kibana
|
||||
|
||||
USER kibana
|
|
@ -1,3 +1,4 @@
|
|||
configs:
|
||||
elasticsearch_port: 9200
|
||||
elasticsearch_cluster_port: 9300
|
||||
kibana_port: 5601
|
||||
|
|
|
@ -0,0 +1,62 @@
|
|||
# Kibana is served by a back end server. This controls which port to use.
|
||||
port: {{ kibana_port }}
|
||||
|
||||
# The host to bind the server to.
|
||||
host: "{{ network_topology["private"]["address"] }}"
|
||||
|
||||
# The Elasticsearch instance to use for all your queries.
|
||||
elasticsearch_url: "http://elasticsearch:{{ elasticsearch_port }}"
|
||||
|
||||
# preserve_elasticsearch_host true will send the hostname specified in `elasticsearch`. If you set it to false,
|
||||
# then the host you use to connect to *this* Kibana instance will be sent.
|
||||
elasticsearch_preserve_host: true
|
||||
|
||||
# Kibana uses an index in Elasticsearch to store saved searches, visualizations
|
||||
# and dashboards. It will create a new index if it doesn't already exist.
|
||||
kibana_index: ".kibana"
|
||||
|
||||
# If your Elasticsearch is protected with basic auth, this is the user credentials
|
||||
# used by the Kibana server to perform maintence on the kibana_index at statup. Your Kibana
|
||||
# users will still need to authenticate with Elasticsearch (which is proxied thorugh
|
||||
# the Kibana server)
|
||||
# kibana_elasticsearch_username: user
|
||||
# kibana_elasticsearch_password: pass
|
||||
|
||||
# The default application to load.
|
||||
# kibana.defaultAppId: "dashboard/Main"
|
||||
|
||||
# Time in milliseconds to wait for responses from the back end or elasticsearch.
|
||||
# This must be > 0
|
||||
request_timeout: 300000
|
||||
|
||||
# Time in milliseconds for Elasticsearch to wait for responses from shards.
|
||||
# Set to 0 to disable.
|
||||
shard_timeout: 0
|
||||
|
||||
# Set to false to have a complete disregard for the validity of the SSL
|
||||
# certificate.
|
||||
verify_ssl: false
|
||||
|
||||
# If you need to provide a CA certificate for your Elasticsarech instance, put
|
||||
# the path of the pem file here.
|
||||
# ca: /path/to/your/CA.pem
|
||||
|
||||
# SSL for outgoing requests from the Kibana Server (PEM formatted)
|
||||
# ssl_key_file: /path/to/your/server.key
|
||||
# ssl_cert_file: /path/to/your/server.crt
|
||||
|
||||
# Set the path to where you would like the process id file to be created.
|
||||
# pid_file: /var/run/kibana.pid
|
||||
|
||||
# Plugins that are included in the build, and no longer found in the plugins/ folder
|
||||
bundled_plugin_ids:
|
||||
- plugins/dashboard/index
|
||||
- plugins/discover/index
|
||||
- plugins/doc/index
|
||||
- plugins/kibana/index
|
||||
- plugins/markdown_vis/index
|
||||
- plugins/metric_vis/index
|
||||
- plugins/settings/index
|
||||
- plugins/table_vis/index
|
||||
- plugins/vis_types/index
|
||||
- plugins/visualize/index
|
|
@ -0,0 +1,22 @@
|
|||
service:
|
||||
name: kibana
|
||||
node-selector:
|
||||
openstack-controller: "true"
|
||||
ports:
|
||||
- kibana_port
|
||||
containers:
|
||||
- name: kibana
|
||||
image: kibana
|
||||
probes:
|
||||
readiness: "true"
|
||||
liveness: "true"
|
||||
daemon:
|
||||
command: /opt/kibana/bin/kibana
|
||||
dependencies:
|
||||
- elasticsearch
|
||||
files:
|
||||
- kibana.yml
|
||||
files:
|
||||
kibana.yml:
|
||||
path: /opt/kibana/config/kibana.yml
|
||||
content: kibana.yml.j2
|
Loading…
Reference in New Issue