Skip to content

Instantly share code, notes, and snippets.

View kwmonroe's full-sized avatar

Kevin W Monroe kwmonroe

  • Canonical
  • Austin, TX
View GitHub Profile
@kwmonroe
kwmonroe / graylog_cdk.md
Last active June 13, 2019 15:23
Graylog and CDK

With our Kubernetes cluster deployed, we need to add all the applications required for Graylog:

juju deploy bionic/graylog --constraints mem=7G
juju deploy bionic/elasticsearch --constraints mem=7G
juju deploy bionic/apache2
juju deploy bionic/filebeat
juju deploy bionic/mongodb
@kwmonroe
kwmonroe / update-cu-brew.txt
Last active October 2, 2019 22:23
update conjure-up for brew
# update brew
brew update
cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core
# fork https://github.com/Homebrew/homebrew-core
git fetch --all
git checkout master
git pull
git push <FORK>
@kwmonroe
kwmonroe / gist:f3237275df1250732189e29f104a0378
Created October 4, 2018 17:35
deploy k8s to bionic lxd
$ juju deploy cs:bionic/ubuntu --constraints 'mem=30G cores=4 root-disk=50G'
Located charm "cs:ubuntu-12".
Deploying charm "cs:ubuntu-12".

$ juju ssh ubuntu/0

ubuntu@ip-172-31-10-253:~$ snap list
Name              Version    Rev   Tracking  Publisher   Notes
amazon-ssm-agent  2.2.800.0  495   stable/…  aws✓        classic
@kwmonroe
kwmonroe / calico2.6-arm64.md
Last active November 2, 2021 05:54
calico 2.6 on arm64

Prereqs

Some Calico bits are built using the calico/go-build arm64 container, which includes Go 1.10.x. Others are built natively. The native builds assume Go 1.8.7 is installed in $HOME/go-1.8.7/bin with GOPATH=$HOME/go:

mkdir -p $HOME/go/bin
mkdir -p $HOME/go-1.8.7
pushd $HOME/go-1.8.7
@kwmonroe
kwmonroe / k8s-vsphere-storage.sh
Last active August 24, 2018 16:01
script to configure k8s storage on a pre-deployed CDK model
#!/bin/bash
set -eu
###############################################################################
###############################################################################
# NOTE: the recommended way to use K8s/vSphere integration is with the
# vsphere-integrator charm. See details at:
# https://medium.com/@kwmonroe/the-road-to-k8s-vsphere-integration-eef8e1de64f2
###############################################################################
###############################################################################