Skip to content

Instantly share code, notes, and snippets.

View mrbobbytables's full-sized avatar
:shipit:
E_TO_MANY_THINGS

Bob Killen mrbobbytables

:shipit:
E_TO_MANY_THINGS
View GitHub Profile
@mrbobbytables
mrbobbytables / init-boot2docker.sh
Created November 11, 2014 11:48
boot2docker OSX mount helper
#!/bin/bash
set -o errexit -o nounset -o pipefail
usage() {
cat << EOF
USAGE:
init-boot2docker.sh -p [path] -u [uid] -g [gid]
-p Path to the working directory you wish to mount.
-u The uid you wish to mount the working directory as.
@mrbobbytables
mrbobbytables / jenkins-cloud.groovy
Last active November 26, 2015 10:31
jenkins-mesos-cloud
//groovy.init
import org.jenkinsci.plugins.mesos.*
def slaveVols = [
new MesosSlaveInfo.Volume(
containerPath="/usr/bin/docker",
hostPath="/usr/bin/docker",
readOnly=true
@mrbobbytables
mrbobbytables / 100-mesos.groovy
Last active March 9, 2016 13:17
jenkins mesos dynamic config
#!/usr/bin/env groovy
/*
Fairly self explanatory if you look at the options in the UI.
Main thing to note is the JENKINS_MESOS_SLAVE_<number>. Anything with the same
number will be associated together option wise.
For things like JENKINS_MESOS_SLAVE_<number>_VOL_<number> The trailing
number just signifies more than one.
--Available Environment Variables --
@mrbobbytables
mrbobbytables / config.yml
Created May 12, 2017 18:06
rancher system-docker
rancher:
system_docker:
extra_args:
- "--bip=10.255.48.1/24"
docker:
engine: docker-1.13.1
live_restore: true
selinux_enabled: true
storage_driver: overlay2
extra_args:
@mrbobbytables
mrbobbytables / bridge.conf
Created June 27, 2017 16:29
custom docker cni config
{
"name": "bridge",
"type": "bridge",
"bridge": "docker-sys",
"isDefaultGateway": true,
"ipMasq": true,
"hairpinMode": true,
"ipam": {
"type": "host-local",
"subnet": "10.255.12.1/25"

Keybase proof

I hereby claim:

  • I am mrbobbytables on github.
  • I am mrbobbytables (https://keybase.io/mrbobbytables) on keybase.
  • I have a public key ASAH0FDJBZsdgQwrODh6qc900LeSTUJMk1Yix8Y8ZC4newo

To claim this, I am signing this object:

@mrbobbytables
mrbobbytables / client-go-and-api-extensions.md
Last active May 1, 2018 10:40
client-go and API extensions

client-go and API extensions

Goals for the Session

  • What is currently painful when building a controller
  • Questions around best practices
  • After this week
  • As someone new:
    • What is hard to grasp?
  • As someone experienced:

missed first part due to laptop being dumb

Networking

pod "ready++" allow external systems (load-balancers, policies etc) to participate in rolling updates. External system decorates pod with ready status

Ingress

  • lowest common denominator api
  • very limited with with current configuration
@mrbobbytables
mrbobbytables / crd-and-aggregation-future-and-pain-points.md
Last active May 1, 2018 13:58
CRD and aggregation - future and pain points

CRD and aggregation - future and pain points

outlook - aggregation

  • API stable since 1.10

  • GSoC project with @xmudrii: share etcd storage

    • kubectl create etcdstorage your api-server
  • Store custom data in etcd

outlook custom resources

@mrbobbytables
mrbobbytables / developer-tools.md
Last active May 1, 2018 13:57
Developer Tools

Developer Tools

What APIs should we target, what parts of the developer workflow haven't been covered yet

Topics to Cover:

  • Do you think the Developer tools for Kubernetes is a solved problem?
  • No

Long form responses from SIG Apps survey

  • Need to talk about developer experience