Skip to content

Instantly share code, notes, and snippets.

View philwinder's full-sized avatar

Phil Winder philwinder

View GitHub Profile
@philwinder
philwinder / Mesos CNI example bug
Created June 24, 2016 09:41
Logs from Mesos and commands showing state of CNI config.
#### Mesos Settings:
ubuntu@ip-10-0-0-21:~$ ls -laR /etc/mesos-slave/
/etc/mesos-slave/:
total 36
drwxr-xr-x 2 root root 4096 Jun 24 07:50 .
drwxr-xr-x 115 root root 4096 Jun 24 07:50 ..
-rw-r--r-- 1 root root 6 Jun 24 07:50 executor_registration_timeout
-rw-r--r-- 1 root root 47 Jun 24 07:50 hostname
-rw-r--r-- 1 root root 7 Jun 24 07:50 image_providers
-rw-r--r-- 1 root root 32 Jun 24 07:50 isolation
#!/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
# 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
# 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
# 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
# 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
@philwinder
philwinder / kibana.yml
Last active March 10, 2016 16:01
Example Kibana yml file for testing
kibana.defaultAppId: "dashboard"
logging.verbose: true
@philwinder
philwinder / elasticsearch.yml
Last active March 3, 2016 10:08
Test url based yml file for Mesos ES project
index.auto_expand_replicas: false
path.plugins: /tmp/plugins
network.publish_host: 0.0.0.0
@philwinder
philwinder / .zshrc
Last active January 22, 2016 14:05
My oh-my-zsh configuration
# 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.