Skip to content

Instantly share code, notes, and snippets.

View guenter's full-sized avatar

Tobi Knaup guenter

View GitHub Profile

Software projects built on Mesos

PaaS and Long Running Services

  • Aurora is a service scheduler that runs on top of Mesos, enabling you to run long-running services that take advantage of Mesos' scalability, fault-tolerance, and resource isolation.
  • Marathon is a private PaaS built on Mesos. It automatically handles hardware or software failures and ensures that an app is "always on".
  • SSSP is a simple web application that provides a white-label "Megaupload" for storing and sharing files in S3.

Big Data Processing

@guenter
guenter / mesos.rb
Created March 31, 2014 15:56
Mesos homebrew
require 'formula'
class Mesos < Formula
homepage 'http://incubator.apache.org/mesos/'
head 'https://git-wip-us.apache.org/repos/asf/mesos.git'
depends_on 'autoconf' => :build
depends_on 'automake' => :build
depends_on 'libtool' => :build
depends_on 'zookeeper'
3.95% libc-2.17.so [.] _int_malloc
3.76% libc-2.17.so [.] malloc
3.74% libc-2.17.so [.] _int_free
3.53% [kernel] [k] __ticket_spin_lock
2.83% libstdc++.so.6.0.18 [.] std::istreambuf_iterator<char, std::char_traits<char> > std::num_get<char, std::istreambuf_iterator<char, std::char_traits<char> > >::_M_extract_int<unsigned long>(std::istreambuf_iterator<char, std::char_traits<char> >, std::istreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, std::_Ios_Iostate&, unsigned long&) const
2.56% libstdc++.so.6.0.18 [.] 0x000000000008a2b5
1.83% [kernel] [k] generic_exec_single
1.37% libstdc++.so.6.0.18 [.] std::istreambuf_iterator<char, std::char_traits<char> > std::num_get<char, std::istreambuf_iterator<char, std::char_traits<char> > >::_M_extract_int<long>(std::istreambuf_iterator<char, std::char_traits<char> >, std::istreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, std::_Ios_Iostate&, long&) const
1.35% li
Index: source/blog/2014-04-10-mesos-community-update-2.md
===================================================================
--- source/blog/2014-04-10-mesos-community-update-2.md (revision 0)
+++ source/blog/2014-04-10-mesos-community-update-2.md (working copy)
@@ -0,0 +1,51 @@
+---
+layout: post
+title: "Mesos Community Update #2"
+permalink: /blog/mesos-community-update-2/
+published: true
diff --git a/configure.ac b/configure.ac
index c1de6d7..3197d00 100644
--- a/configure.ac
+++ b/configure.ac
@@ -436,6 +436,13 @@ __EOF__
AC_DEFINE([MESOS_HAS_JAVA])
has_java=yes
+
+ # Test for Maven so we can build the jar
@guenter
guenter / clean-github.js
Created April 29, 2014 21:57
Remove nav elements on github page to clean it up for PDF. Paste in your browser console.
$('.file-navigation, .repository-sidebar, .header, .pagehead, .breadcrumb, .commit, .meta, .site-footer').remove(); $('#files, .file').css({"background":"none", "border":"none"}); $('link').removeAttr('media');
@guenter
guenter / velocity.md
Created September 15, 2014 19:24
velocity
@guenter
guenter / Node-and-Redis.json
Last active August 29, 2015 14:13
Prepare a cluster started with https://google.mesosphere.com for the Mesos DNS demo
{
"id" : "/mysite",
"apps": [
{
"id": "frontend",
"container": {
"type": "DOCKER",
"docker": {
"image": "superguenter/node-redis-demo",
"network": "HOST"
@guenter
guenter / docker2marathon.py
Created March 11, 2016 04:53
Generate Marathon JSON from Docker images.
"""Generate Marathon JSON from Docker images.
Usage:
docker2marathon.py [options] <image>
docker2marathon.py (-h | --help)
Options:
--cpus=<shares> CPU shares for this app [default: 0.5]
--mem=<megabytes> MB of memory for this app [default: 256]
"""
@guenter
guenter / README.md
Created March 9, 2018 17:25
Demo Kubernetes on DC/OS

Setup

These instructions are for DC/OS 1.11.0 and Kubernetes package 1.0.0-1.9.3.

Service Accounts

Install the DC/OS Enterprise CLI, then create a keypair and a service account for Kubernetes. Securely store the private key in the DC/OS secrets store.