This file contains hidden or 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
#!/bin/bash | |
################ | |
# Introduction # | |
# This script is a demo of DCOS for the Container Solutions hosted Software Circus meetup. | |
# Don't run this as a script, it expects the DCOS CLI installed. Rather you should work | |
# through the examples one by one. | |
# Prerequisites: | |
# - A working DCOS cluster on AWS. See https://mesosphere.com/amazon/setup/ | |
# Please make sure you enter your master AWS IP below. |
This file contains hidden or 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
# Path to your oh-my-zsh installation. | |
export ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="gianu" | |
# Uncomment the following line to use case-sensitive completion. |
This file contains hidden or 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
network.publish_host: 0.0.0.0 |
This file contains hidden or 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
index.auto_expand_replicas: false | |
path.plugins: /tmp/plugins |
This file contains hidden or 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
kibana.defaultAppId: "dashboard" | |
logging.verbose: true |
This file contains hidden or 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
# Introduction | |
# This is an example properties file to run a dockerized version of kibana. | |
# All of the properties in the mesos-starter project are overridable. | |
# Required application name for Spring | |
spring.application.name=kibana-docker | |
# Mesos framework name | |
mesos.framework.name=kibana-docker |
This file contains hidden or 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
# 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 |
This file contains hidden or 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
# Introduction | |
# This example uses minimesos to run a simple hello world webapp. | |
# First, start minimesos with three agents. | |
# Required application name for Spring | |
spring.application.name=hello-world | |
# Mesos framework name | |
mesos.framework.name=hello-world |
This file contains hidden or 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
# Required application name for Spring | |
spring.application.name=mesos-monkey-minimesos | |
# Mesos framework name | |
mesos.framework.name=mesos-monkey-minimesos | |
# Mesos settings | |
mesos.master=zk://${mesos.zookeeper.server}/mesos | |
# mesos.zookeeper.server=$ZOOKEEPER:2181 |
This file contains hidden or 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
#!/bin/bash | |
function mesosContainerList() { | |
count=0 | |
for item in $(docker ps -q) | |
do | |
mesosName=$(docker exec -i $item sh -c 'echo $MESOS_CONTAINER_NAME') | |
echo $mesosName | |
if [ -n "${mesosName//[$'\r\n\t ']}" ]; | |
then |