Skip to content

Instantly share code, notes, and snippets.

John Harris johnharris85

Block or report user

Report or block johnharris85

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@johnharris85
johnharris85 / cluster.yaml
Last active Aug 23, 2019
Seattle DevOps Meetup - Kubernetes CAPI Demo
View cluster.yaml
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"]
@johnharris85
johnharris85 / daemon.json
Created Jul 25, 2019
compose logging test
View daemon.json
{
"debug":true,
"experimental":true,
"metrics-addr":"0.0.0.0:9323",
"log-driver":"journald",
"log-opts":{
"tag":"{{.Name}}"
}
}
@johnharris85
johnharris85 / multi-traefik-swarm.yml
Created Oct 25, 2017
Multiple Traefik instances in a single Docker swarm using constraints
View multi-traefik-swarm.yml
# 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
View Vagrantfile
# -*- 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
View keybase.md

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:

You can’t perform that action at this time.