Skip to content

Instantly share code, notes, and snippets.

Alex Polvi polvi

  • CoreOS
  • San Francisco
View GitHub Profile
@polvi
polvi / osx_bootstrap.sh
Created Feb 6, 2019 — forked from codeinthehole/osx_bootstrap.sh
Script to install stuff I want on a new OSX machine
View osx_bootstrap.sh
#!/usr/bin/env bash
#
# Bootstrap script for setting up a new OSX machine
#
# This should be idempotent so it can be run multiple times.
#
# Some apps don't have a cask and so still need to be installed by hand. These
# include:
#
# - Twitter (app store)
View README.md

kQuery

A jQuery like library for manipulating kubernetes objects across various popular kubernetes platforms.

Problems that kQuery addresses:

  • Easy to use client library that is accessible to a wide range of developers (javascript/jQuery)
  • Consistent client library across inconsistent kubernetes implementations (abstracts the differences between EKS/AKS/GKE/Tectonic etc)
  • Simplify building long running custom controllers or operators on k8s

Examples

@polvi
polvi / README.md
Created May 3, 2017
HDFS of Kubernetes
View README.md

Easiest HDFS cluster in the world with kubernetes.

Inspiration from kimoonkim/kubernetes-HDFS

kubectl create -f namenode.yaml
kubectl create -f datanode.yaml

Setup a port-forward to so you can see it is alive:

View keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@polvi
polvi / 3G-camera.gs
Last active Aug 9, 2016
app-script for taking a twilio MMS post from a 3G game camera to google drive
View 3G-camera.gs
/* Connect your 3g game camera to google drive
* 1) buy camera: http://www.amazon.com/Covert-Special-Ops-Cellular-Camera/dp/B00806KGY6
* 2) Configure it to point to your twilio number
* 3) Deploy google app script below as a public webapp
* 4) Configure twilio to point to your app script
*/
function doGet() {
return ContentService.createTextOutput("");
You can’t perform that action at this time.