Skip to content

Instantly share code, notes, and snippets.

View bgulla's full-sized avatar
🦃
fast and loose is still fast.

Brandon bgulla

🦃
fast and loose is still fast.
  • Rancher Federal
  • Virginia
View GitHub Profile
@bgulla
bgulla / proxmox_rancher_driver
Created January 19, 2021 14:50
How to spin up Rancher
WIP
# _ _ _
# | | _____ _____(_) __| | ___
# | |/ _ \ \ /\ / / __| |/ _` |/ _ \
# | | (_) \ V V /\__ \ | (_| | __/
# |_|\___/ \_/\_/ |___/_|\__,_|\___|
#
# download images
wget https://github.com/rancher/rke2/releases/download/v1.18.13%2Brke2r1/rke2-images.linux-amd64.tar.gz
apiVersion: v1
kind: Service
metadata:
name: rancher-svc
namespace: kube-system
spec:
type: LoadBalancer
ports:
- port: 443
protocol: TCP
#!/bin/bash
# create the cattle-system namespace
kubectl create ns cattle-system
# Setup the certificate-authority
cp ./certs/ca.crt /tmp/cacerts.pem
kubectl -n cattle-system create secret generic tls-ca \
--from-file=cacerts.pem=/tmp/cacerts.pem
@bgulla
bgulla / rancher-banner.css
Created December 14, 2020 14:31
Rancher UI-Banner CSS
{
"banner": {
"textColor": "#FFFFFF",
"background": "#368024",
"text": "UNCLASSIFIED Rancher Federal Demo Environment UNCLASSIFIED"
},
"showHeader": "true",
"showFooter": "true"
}
@bgulla
bgulla / metal-lb-canary-test.yaml
Created December 9, 2020 03:31
example metal-lb canary test
---
apiVersion: v1
kind: Namespace
metadata:
name: demo
---
apiVersion: apps/v1
kind: Deployment
metadata:
@bgulla
bgulla / tplink-kasa-blocklist.txt
Created November 18, 2020 02:22
TP-Link Kasa host blocklist to prevent firmware updating.
@bgulla
bgulla / 3dprinting-docs.md
Last active October 8, 2020 22:29
Cheatsheet to get started on 3D-printing
@bgulla
bgulla / readme.md
Last active April 10, 2025 16:49
Bad instructions on setting up a Hyperion DIY ambilight system

WLED Hyperion Ambilight Notes

Disclaimer

Nothing about this is turnkey. It's a mess of protocols, firmware and apps, but if you're the right kind of nuts, keep reading.

Required hardware

  • Power Supply Amazon $22
  • WS2812B Addressable RGB LED Strips Amazon $30
  • NodeMCU 8266 Amazon $6
  • AndroidTV - There are alternatives that include using a HDMI grabber and decoding the signal on a Pi/server directly, but this works for a 0.1 alpha attempt. I used a NVidia ShieldTV
@bgulla
bgulla / test
Created June 17, 2020 14:06
test
sadf