Builds a docker image for running kibana in container.
A working Docker setup and a valid shell (e.g., bash).
To join an existing cluster, run a registrator container beside this container and pass in the SERVICENAME="elasticsearch-9300.service.consul" or similar for the elastic search service pool.
Build the container and run it.
./build.sh
docker run -d vmware-opencloud/elasticsearch
By default, we join the elasticsearch cluster in elasticsearch-9300.service.consul. We use DNS SRV records to identify the nodes in the cluster to join. Set SERVICENAME environment variable to a SVR records, or to the consul service name for the pool, which is the same thing.
docker run -d gliderlabs/registrator:master
docker run -d vmware-opencloud/kibana
# open browser to http://kibana.service.consul
Copyright 2015 VMware, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Created in 2015 by Tom Scanlan / VMware.