Skip to content

Instantly share code, notes, and snippets.

Angus Lees anguslees

Block or report user

Report or block anguslees

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
@anguslees
anguslees / gus-video-notes.org
Created Dec 3, 2018
Gus' raw notes for video demo
View gus-video-notes.org
  • create aks(?) cluster
  • install kubeprod
  • do dns glue setup
  • helm init
  • helm install stable/wordpress
  • point out hostname + TLS
  • visit kibana/prometheus - point out oauth
    • kibana: kubernetes.container_name:nginx wordpress.demo.bkpr.run
@anguslees
anguslees / .wl
Created Jun 18, 2018
ancient ~gus/.wl
View .wl
; wanderlust setup -*- emacs-lisp -*-
; see nice example at http://www.tamaru.kuee.kyoto-u.ac.jp/~kokada/wl/src
(setq wl-user-mail-address-list
(list "gus@slug.org.au"
"gus@inodes.org"
"gus@madcow.inodes.org"
"gus@debian.org"
"gus@switchonline.com.au"
@anguslees
anguslees / nodesh.sh
Created May 25, 2018
"cloud-native" ssh replacement :P
View nodesh.sh
#!/bin/sh
#
# The access this gives you is rather terrifing. Use sparingly.
#
set -e -x
lib=$HOME/src/gus-sre-kube-manifests/lib
node=$1
@anguslees
anguslees / cert-manager.jsonnet
Created Apr 12, 2018
*wip* (untested) cert-manager, using kube.libsonnet
View cert-manager.jsonnet
local kube = import "kube.libsonnet";
{
p:: "",
namespace:: {metadata+: {namespace: "kube-system"}},
Issuer(name):: kube._Object("certmanager.k8s.io/v1alpha1", "Issuer", name) {
},
ClusterIssuer(name):: kube._Object("certmanager.k8s.io/v1alpha1", "ClusterIssuer", name) {
View keybase.md

Keybase proof

I hereby claim:

  • I am anguslees on github.
  • I am guslees (https://keybase.io/guslees) on keybase.
  • I have a public key ASDYlDcVcXGKmqaVeTvW4cm5wAgdfok2_WIRKkrCz2Nq-Ao

To claim this, I am signing this object:

@anguslees
anguslees / echoheaders.jsonnet
Created Jun 26, 2017
basic echoheaders test serviice
View echoheaders.jsonnet
local kube = import "kube.libsonnet";
local all = {
namespace:: "gus",
echo_ing: kube.Ingress("echoheaders") {
metadata+: { namespace: $.namespace },
spec+: {
backend: $.echo_svc.name_port,
},
@anguslees
anguslees / controller-norbac-v0.2.0.yaml
Created Jun 21, 2017
ksonnet/sealed-secrets controller.yaml - v0.2.0 without RBAC and serviceaccount
View controller-norbac-v0.2.0.yaml
---
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: sealed-secrets-controller
namespace: kube-system
spec:
template:
metadata:
labels:
@anguslees
anguslees / git-review-status.py
Created Oct 20, 2014
Simple script to check gerrit status of local git branches
View git-review-status.py
#!/usr/bin/python
import re
import requests
import sys
import git
from pygerrit.rest import GerritRestAPI
You can’t perform that action at this time.