Skip to content

Instantly share code, notes, and snippets.

Give me a soft subtle mix, and if ain't broke then don't try to fix it

Brandon B. Jozsa v1k0d3n

Give me a soft subtle mix, and if ain't broke then don't try to fix it
Block or report user

Report or block v1k0d3n

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
v1k0d3n /
Created Sep 8, 2019
Local CoreDNS setup. For production we used CoreDNS extensions for proxy/forwarding to Route53, but this was used to test a local CoreDNS instance + etcd SRV auto-discovery for local platform development.

CoreDNS Proposal

Proof of Concept

## Prepare any variables used for this script:
export network_endpoints_dns_coredir="$(pwd)/scripts/deployments/coredns"
export network_endpoints_dns_fqdn=""
v1k0d3n / calico-os-v3-7-2.yaml
Created Jul 13, 2019
Calico Manifests for Kata Installations
View calico-os-v3-7-2.yaml
# Source: calico/templates/calico-config.yaml
# This ConfigMap is used to configure a self-hosted Calico installation.
kind: ConfigMap
apiVersion: v1
name: calico-config
namespace: kube-system
# You must set a non-zero value for Typha replicas below.
v1k0d3n /
Last active Jul 10, 2019
A list of helpful parsing commands that include: kubernetes, aws, jq, yq and other fine tools. Comment to add your favorite useful commands. Please be kind and source any commands found elsewhere when possible.

Data Crunching

The following is a guide for many useful commands that can be used when parsing, replacing, patching various platforms, etc.

Cloud Providers



v1k0d3n /
Created Apr 27, 2019 — forked from ralfr/
Applescript to launch iTerm2 Version 3+ from OS X Finder via keyboard shortcut or Toolbar


Based on info from but with modified behavior and fixed to work with iTerm2 version 3 or later. It will not work with older versions of iTerm. The modified behavior is to open a new terminal window for each invocation instead of reusing an already open window. Update - The original author released a build script for the newer iTerm2 versions at that keeps the original behavior of reusing an open iTerm2 window.

To open iTerm2 at selected folder with keyboard shortcut

  1. Run Automator, select a new Service
  2. Select Utilities -> Run AppleScript
  3. Service receives selected 'folders' in ''
  4. Paste script:
v1k0d3n /
Last active Apr 30, 2019
Install kubeadm in self-hosted mode
# System preparation
## Update system:
sudo apt-get update && sudo apt-get dist-upgrade -y
## Prepare for Docker-CE install:
sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
v1k0d3n /
Created Mar 11, 2018 — forked from jasonbrooks/
running kubernetes on fedora atomic host

kubernetes all in one

grab an atomic host

$ vagrant init fedora/25-atomic-host
$ vagrant up
$ vagrant ssh
v1k0d3n /
Created Mar 7, 2018 — forked from mowings/
Set up xhyve with Ubuntu 16.04


Setting up an OS to work with xhyve can be a bit tricky, but it's not impossible. These intructions should be generally applicable to most versions of Linux.

Create a disk image file

Xhyve will use a file as a logical disk. Be sure you have the filesize you need, because growing the file later is tricky to impossible (you could try to use qcow or similar to get around this, but qcow volumes can be tricky to mount).

dd if=/dev/zero of=hdd.img bs=1g count=32 # Create a 32 gig disk. Raise 'count' as desired

Keybase proof

I hereby claim:

  • I am v1k0d3n on github.
  • I am v1k0d3n ( on keybase.
  • I have a public key ASBYzkbUstXG0bQCGbDF2CduJpn_Y3vLXGNtg41o7m7VzQo

To claim this, I am signing this object:

v1k0d3n / calico-2.6.1-v1.7.5.yaml
Created Oct 8, 2017
View calico-2.6.1-v1.7.5.yaml
# Calico Version v2.6.1
# This manifest includes the following component versions:
# calico/node:v2.6.1
# calico/cni:v1.11.0
# calico/kube-controllers:v1.0.0
# This ConfigMap is used to configure a self-hosted Calico installation.
kind: ConfigMap
apiVersion: v1
chmod +x bootkube-*
You can’t perform that action at this time.