Skip to content

Instantly share code, notes, and snippets.

View lazypower's full-sized avatar
💭
Bring back independent blogs, rss feeds, and the small web.

Charles "Chuck" Butler lazypower

💭
Bring back independent blogs, rss feeds, and the small web.
View GitHub Profile
@lazypower
lazypower / tates_Jambalaya_recipe.txt
Created December 23, 2023 18:00
A quick share of a jambalaya recipe from a co-worker
Jambalaya
Entree
Ingredients:
- 1 Lb. Extra Long Grain White Rice
- 1 Lb. Of Smoked Sausage (I prefer smoked pork sausage)
- 1 Lb. Of Boneless Skinless Chicken Thighs (cut into thirds)
- 1 Lb. Of Tasso cubed (if you cannot find tasso use ham or boston butt cubed)
- 1 Lb. Onions (Chopped)

Homebrew Formula for a Go app

These are quick notes from making a glan Formula and Tap.

Add go build script to your Git repo

gobuild.sh

#!/bin/bash
$ k3s kubectl api-resources
NAME SHORTNAMES APIGROUP NAMESPACED KIND
bindings true Binding
componentstatuses cs false ComponentStatus
configmaps cm true ConfigMap
endpoints ep true Endpoints
events ev true Event
limitranges limits true LimitRange
namespaces ns false Namespace
nodes no false Node
--------------------              --------------------------                --------------------------
| Node Pool 1 (3)  |              | Node Pool 2 (1)        |                |  Receiving Pool (0)    |
--------------------              --------------------------                ---------------------------
     8 apps                          3 apps                                   vacant

Impending update to node pool 1. NodePool 2 has neither capacity and is on the block for update as well.

This is the house that errors built
Site Reliability style
All right, I'm checkin' all you this evening an' see you sittin around
But we ain't gonna have none of that this evening, child
That's right, don't be lookin' at me like that
See my name's pager duty y'all
Page if you're errorin darlin'
And you've got to stay unhealthy
But see, I need a little more volume, you know what I'm sayin'
Give me volume on everything 'cause I want you to hear me

Keybase proof

I hereby claim:

  • I am chuckbutler on github.
  • I am lazypower (https://keybase.io/lazypower) on keybase.
  • I have a public key whose fingerprint is 3D3B 256E 3D37 5E42 0D31 5D88 2F9F 67B2 2E81 6138

To claim this, I am signing this object:

@lazypower
lazypower / setup.md
Last active April 23, 2022 13:16
Run Minikube in LXD

Running Minikube via LXD

I make some assumptions, and make no claims in how well supported this is or ever will be. I wanted to avoid using VMs because i've been working in containers for the last half decade. It made sense to just skip the middle man and use a machine type container system to run my minikube workloads.

Why not juju?

Simply put, Juju does a fantastic job; but to stay objective I wanted to achieve minikube in LXD as a functional alternative to juju deploy kubernetes-core, or using KVM/VirtualBox in this solution.

#!/bin/bash
if [ ! -z $1 ]; then
CHANNEL=$1
else
CHANNEL='1.6/stable'
fi
if [ -z $SNAP_RESOURCE_PATH ]; then
echo "Unable to continue. Missing SNAP_RESOURCE_PATH env var".
apiVersion: v1
kind: Pod
metadata:
name: ubuntu
namespace: development
spec:
containers:
- name: ubuntu
image: ubuntu
command: