Skip to content

Instantly share code, notes, and snippets.

View johnharris85's full-sized avatar
🎮
Game Dev

John Harris johnharris85

🎮
Game Dev
View GitHub Profile
@johnharris85
johnharris85 / multi-traefik-swarm.yml
Created October 25, 2017 17:12
Multiple Traefik instances in a single Docker swarm using constraints
# for i in traefik-net traefik-net2; do docker network create -d overlay $i; done
# docker stack deploy -c all-in-one-stack.yml multi-traefik-test
#
# traefik1 - UI: 8010, App: 8001
# traefik2 - UI: 8020, App: 8002
version: "3.1"
services:
traefik:
image: traefik:1.4
{
"basics": {
"name": "John Harris",
"label": "Experienced Cloud Native Engineer / Architect and Product Manager",
"image": "",
"email": "john@johnharris.io",
"url": "https://johnharris.io",
"summary": "I am an experienced cloud native engineer, architect, educator, and product manager. During my career I have had the opportunity to consult on continuous delivery, DevOps, Kubernetes, and cloud native with many global (Fortune 50) enterprises, 25-person startups, and everything in-between. I've also had the privilege of learning from some of the most respected, knowledgeable, and generous colleagues in the industry. I believe these technical and cultural experiences enable me to be an exceptionally strong addition to any team trying to achieve and exceed their potential.",
"website": "https://johnharris.io",
"location": {
@johnharris85
johnharris85 / daemon.json
Created July 25, 2019 17:46
compose logging test
{
"debug":true,
"experimental":true,
"metrics-addr":"0.0.0.0:9323",
"log-driver":"journald",
"log-opts":{
"tag":"{{.Name}}"
}
}
@johnharris85
johnharris85 / cluster.yaml
Last active August 23, 2019 00:21
Seattle DevOps Meetup - Kubernetes CAPI Demo
apiVersion: "cluster.k8s.io/v1alpha1"
kind: Cluster
metadata:
name: capa-test
spec:
clusterNetwork:
services:
cidrBlocks: ["10.96.0.0/12"]
pods:
cidrBlocks: ["192.168.0.0/16"]
# -*- mode: ruby -*-
# vi: set ft=ruby :
$attacker_script = <<SCRIPT
# Add "firewall" as the default gateway
route add default gw 192.168.102.10
# Make the above step persist across reboots
echo " gateway 192.168.102.10" >> /etc/network/interfaces
SCRIPT

Keybase proof

I hereby claim:

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

To claim this, I am signing this object: