Skip to content

Instantly share code, notes, and snippets.

@apokalyptik
apokalyptik / debian-jessie-kubernetes-1.3-manual-install-guide.md
Last active November 21, 2023 12:31
Set up Kubernetes on 3 Debian Jessie virtual machines -- No magic

The Goal

Set up Kubernetes on 3 Debian Jessie virtual machines: One master. Two nodes. Additionally do this without any "magic" so that what is required to be running to make everything work is plain and obvious.

We will be using flannel for the inter-machine networking layer. Mainly because it is useful and it seems to be pretty popular.

The Setup

@DrOctogon
DrOctogon / vagrant-autocomplete
Created November 14, 2013 22:39
Vagrant Bash AutoComplete
#!/bin/bash
__pwdln() {
pwdmod="${PWD}/"
itr=0
until [[ -z "$pwdmod" ]];do
itr=$(($itr+1))
pwdmod="${pwdmod#*/}"
done
@sevennineteen
sevennineteen / gist:1224478
Created September 17, 2011 23:14
Set logger level on Heroku Sinatra app
require "logger"
configure do
LOG = Logger.new(STDOUT)
LOG.level = Logger.const_get ENV['LOG_LEVEL'] || 'DEBUG'
LOG.info 'I am logging something.'
end