-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from mesos/docs/upgrade-mesos-starter
Initial public release based upon MesosFramework
- Loading branch information
Showing
10 changed files
with
144 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# UI_5061 is an environmental variable provided inside the docker container. This is the mesos-chosen port. | ||
|
||
elasticsearch_http: elasticsearch-executor.service.consul:9200 | ||
framework_ui_port: 31200 | ||
kibana_command: mv $MESOS_SANDBOX/*.yml /opt/kibana/config/kibana.yml ; kibana --elasticsearch {{ elasticsearch_http }} | ||
kibana_executor_cpu: 0.5 | ||
kibana_executor_instances: 3 | ||
kibana_executor_network: BRIDGE | ||
kibana_executor_ram: 1024 | ||
kibana_framework_cpu: 0.5 | ||
kibana_framework_healthcheck_command: wget -q localhost:5601 | ||
kibana_framework_heap: 128 | ||
kibana_framework_image_name: containersol/mesosframework | ||
kibana_framework_image_tag: 0.1.0-beta.4 | ||
kibana_framework_instances: 1 | ||
kibana_framework_ip: kibana.service.consul | ||
kibana_framework_log_level: WARN | ||
kibana_framework_name: kibana | ||
kibana_framework_network: HOST | ||
kibana_framework_properties_name: mantl-kibana.properties | ||
kibana_framework_properties_path: /etc/kibana/{{ kibana_framework_properties_name }} | ||
kibana_framework_ram: 256 | ||
kibana_image_name: kibana | ||
kibana_image_tag: 4.3.1 | ||
kibana_settings_path: /etc/kibana/kibana.yml | ||
mesos_zk: {{ mesos_zk }} | ||
zookeeper: zookeeper.service.consul:2181 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Introduction | ||
# This is a properties file for the mantl project. Most options are injected by ansible. | ||
# All of the properties in the mesos-starter project are overridable. | ||
|
||
|
||
# Required application name for Spring | ||
spring.application.name={{ kibana_framework_name }} | ||
|
||
# Mesos framework name | ||
mesos.framework.name={{ kibana_framework_name }} | ||
|
||
# Mesos settings | ||
mesos.zookeeper.server={{ zookeeper }} | ||
mesos.master={{ mesos_zk }} | ||
|
||
# ES location | ||
elasticsearch.http={{ elasticsearch_http }} | ||
|
||
# Task resources | ||
mesos.resources.cpus={{ kibana_executor_cpu }} | ||
mesos.resources.mem={{ kibana_executor_ram }} | ||
mesos.resources.count={{ kibana_executor_instances }} | ||
mesos.resources.ports.UI_5601.host=ANY | ||
mesos.resources.ports.UI_5601.container=5601 | ||
|
||
# Docker image | ||
mesos.docker.image={{ kibana_image_name }}:{{ kibana_image_tag }} | ||
mesos.docker.network={{ kibana_executor_network }} | ||
|
||
# Log level | ||
logging.level.com.containersolutions.mesos={{ kibana_framework_log_level }} | ||
|
||
# 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={{ kibana_framework_healthcheck_command }} | ||
|
||
# Command to run | ||
mesos.uri[0]={{ kibana_settings_path }} | ||
mesos.command={{ kibana_command }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"id": "kibana-docker", | ||
"cpus": 0.2, | ||
"mem": 256, | ||
"instances": 1, | ||
"args": [ | ||
"--spring.application.name=kibana-docker", | ||
"--mesos.framework.name=kibana-docker", | ||
"--mesos.master=zk://$MASTER:2181/mesos", | ||
"--mesos.docker.image=kibana:latest", | ||
"--mesos.docker.network=BRIDGE", | ||
"--mesos.resources.mem=256", | ||
"--mesos.resources.cpu=0.2", | ||
"--mesos.resources.count=3", | ||
"--mesos.command=kibana --elasticsearch ${elasticsearch.http}", | ||
"--logging.level.com.containersolutions.mesos=DEBUG", | ||
"--mesos.zookeeper.server=$MASTER:2181", | ||
"--elasticsearch.http=http://$SLAVE0:9200", | ||
"--server.port=31100" | ||
], | ||
"env": { | ||
"JAVA_OPTS": "-Xms32m -Xmx128m" | ||
}, | ||
"container": { | ||
"type": "DOCKER", | ||
"docker": { | ||
"image": "containersol/mesosframework:0.1.0", | ||
"network": "BRIDGE" | ||
} | ||
}, | ||
"ports": [ | ||
31100 | ||
], | ||
"requirePorts": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters