Skip to content

Instantly share code, notes, and snippets.

View ericstoekl's full-sized avatar

Eric Stoekl ericstoekl

  • Seattle, WA, USA
View GitHub Profile
@ericstoekl
ericstoekl / gist:1d4372e9398d9cec7ec028629b2c36e2
Last active May 8, 2018 23:13
K8s on AWS quickinstall script
apt-get update
apt-get install -qy docker.io
apt-get update
apt-get install -y apt-transport-https
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" > /etc/apt/sources.list.d/kubernetes.list
apt-get update
#!/bin/bash
# Download all templates from branch
mkdir nonRootTest
cd nonRootTest
curl -sSL https://github.com/ericstoekl/faas-cli/archive/templateNonRoot.zip > tnr.zip
unzip tnr.zip 'faas-cli-templateNonRoot/template/*' -d .
mv faas-cli-templateNonRoot/template ./template
rm -r faas-cli-templateNonRoot
@ericstoekl
ericstoekl / user-data-openfaas-1node.yml
Last active October 30, 2017 18:29 — forked from DieterReuter/user-data-openfaas-1node.yml
Deploy HypriotOS/arm64 for RPi3 with OpenFaas the DevOps/Automation way
#cloud-config
# vim: syntax=yaml
#
# The current version of cloud-init in the Hypriot rpi-64 is 0.7.9
# When dealing with cloud-init, it is SUPER important to know the version
# I have wasted many hours creating servers to find out the module I was trying to use wasn't in the cloud-init version I had
# Documentation: http://cloudinit.readthedocs.io/en/0.7.9/index.html
# Set your hostname here, the manage_etc_hosts will update the hosts file entries as well