Skip to content

Instantly share code, notes, and snippets.

@philwinder
Last active March 15, 2016 10:24
Show Gist options
  • Save philwinder/eb44c8cde83f60496033 to your computer and use it in GitHub Desktop.
Save philwinder/eb44c8cde83f60496033 to your computer and use it in GitHub Desktop.
test
# Introduction
# This is an example properties file to run a jar version of kibana.
# All of the properties in the mesos-starter project are overridable.
# Required application name for Spring
spring.application.name=kibana
# Mesos framework name
mesos.framework.name=kibana
# Mesos settings
mesos.zookeeper.server=$MASTER:2181
mesos.master=zk://${mesos.zookeeper.server}/mesos
# ES location
elasticsearch.http=http://$SLAVE0:9200
# Task resources
mesos.resources.cpus=0.5
mesos.resources.mem=256
mesos.resources.scale=3
mesos.resources.ports.UI_5061=ANY
# Command to run
mesos.uri[0]=https://gist.githubusercontent.com/philwinder/592a1ab2db40431c1b08/raw/kibana.yml
mesos.uri[1]=https://download.elastic.co/kibana/kibana/kibana-4.4.1-linux-x64.tar.gz
mesos.command= cp $MESOS_SANDBOX/kibana.yml $MESOS_SANDBOX/kibana-*/config/kibana.yml ; cd kibana-* ; bin/kibana --port=$UI_5061 --elasticsearch ${elasticsearch.http}
# Log level
logging.level.com.containersolutions.mesos=DEBUG
# Task HealthChecks (Will kill executors that don't respond) (Note: HealthChecks do not work in Mesos 0.25.0, 0.24.0 or 0.23.0)
# See https://issues.apache.org/jira/browse/MESOS-3738 and https://issues.apache.org/jira/browse/MESOS-3136
# And HTTP healthchecks still don't work: https://issues.apache.org/jira/browse/MESOS-2533
mesos.healthCheck.command=curl localhost:$UI_5061
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment