Skip to content

Instantly share code, notes, and snippets.

View davebenvenuti's full-sized avatar

Dave Benvenuti davebenvenuti

View GitHub Profile
@davebenvenuti
davebenvenuti / K8s-DigitalOcean-CoreOS.md
Created September 19, 2018 21:47 — forked from kevashcraft/K8s-DigitalOcean-CoreOS.md
How to Setup Kubernetes on DigitalOcean with CoreOS

Kubernetes on DigitalOcean with CoreOS

Let's look at an example of how to launch a Kubernetes cluster from scratch on DigitalOcean, including kubeadm, an Nginx Ingress controller, and Letsencrypt certificates.

Overview

Environment

We'll be creating a four-node cluster (k8s-master, k8s-000...k8s-002), load balancer, and ssl certificates.

Table of Contents

  1. Install Kubernetes
@davebenvenuti
davebenvenuti / gist:0986fc27015bc9db9afe8edb29aa6a6d
Created April 19, 2018 22:24
setup jasper on a new raspberry pi
. Burn raspbian image [TODO url] and start it up
1. run raspbi-config and setup keyboard layout, enable ssh in interfacing options
2. Setup wpa_supplicant:
/etc/wpa_supplicant/wpa_supplicant.conf
(dp1
S'output'
p2
S'<type \'exceptions.ImportError\'> (ImportError(ImportError("Cannot import module \'applications.evote.modules.rsa\'",), <traceback object at 0x7f97ed153a70>), <traceback object at 0x7f97ed153c68>)'
p3
sS'layer'
p4
S'/root/web2py/applications/evote/controllers/default.py'
p5
sS'code'
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCorW8Cce9yvVM85AsfMOLzhJcRv4K9m1nmgrNhtARJxvEAWM0hxc2aQAYlK0sEDQC8sNgTt84IaLM2j3mtKQN83s6hTjxhqrHmUcEE8BXGev2J9P1I8r3xoPOC4jzm9grwxLmF86UEAA4bljEprwOmmMd90Ssf1ChRkXwCYLSsOmtwkbyssHF3QJytJj1BRHssoC/1389riXqFXAXcoTbujzCPwqH6EAmiHsnl3njFoKbDh4YGuczo9g0V0lNpu+8/RyU+xJTPtUx/9NDbaOhKVp8XPCordNju+THBPJxqciHECAFYByislQqbJ0TH8Jzzw5wZtAQTbAjx8vVaVtFt dave@annihilatrix
---
- !ruby/object:Rubber::Configuration::InstanceItem
name: default
domain: foo.com
roles:
- !ruby/object:Rubber::Configuration::RoleItem
name: postgresql_master
options: {}
- !ruby/object:Rubber::Configuration::RoleItem
name: postgresql