<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on Schemes and Notions</title><link>/posts/</link><description>Recent content in Posts on Schemes and Notions</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 19 Feb 2025 23:32:09 +0000</lastBuildDate><atom:link href="/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>Authentik on k8s with a custom CA</title><link>/posts/authentikk8scustomca/</link><pubDate>Wed, 19 Feb 2025 23:32:09 +0000</pubDate><guid>/posts/authentikk8scustomca/</guid><description>The goal The end-goal for this setup is to have Authentik running and providing LDAP so that I can tie some of my Servers and VMs to central auth via SSSD. While Authentik has some good guides on this, I found there were some gaps for my particular setup. We&amp;rsquo;ll walk you through the full setup.
Assumptions I&amp;rsquo;m making the following assumptions on this post:
You have a working kubernetes cluster You have a basic understanding of kubernetes resources and working with helm You have a basic understanding of certificates and PKI You have a basic understanding of SSSD and LDAP (not very important, but helps when we go into host-specific configuration) You have read through, and have a very basic grasp of Authentik Terminology.</description></item><item><title>AWS Workspaces Client for Fedora 39 (for all?)</title><link>/posts/awsworkspacesclientfedora39/</link><pubDate>Fri, 08 Mar 2024 12:00:00 +0000</pubDate><guid>/posts/awsworkspacesclientfedora39/</guid><description>&amp;ldquo;Old tricks are the best tricks, eh?&amp;rdquo; Yeah, unless they don&amp;rsquo;t work. So fast forward a year and change, and my now well seasoned directions no longer apply. I tried re-following those directions on Fedora 39 but it was just dependency after dependency. I figured, &amp;ldquo;There has to be a better solution&amp;rdquo;.
And there was&amp;hellip; Enter DISTROBOX.
In short, this allows you to run different distributions in containers, but handles all the bind-mounting and passing through to your desktop session so it feels like a first-class experience.</description></item><item><title>Building AWS client for Fedora 36</title><link>/posts/awsworkspacesclientfedora36/</link><pubDate>Thu, 01 Dec 2022 23:46:00 +0000</pubDate><guid>/posts/awsworkspacesclientfedora36/</guid><description>Checkout my new instructions that should work on any distro/version of linux that&amp;rsquo;s supported by Distrobox!
READ ME FIRST There is a flatpak on flathub. At the time of writing this post, the version on flathub (4.3.0.1766) was behind what people were getting for Ubuntu (4.4.0.1808-2). Additionally, it looks like that flatpak is not maintained by AWS. From the FlatHub page:
NOTE: This wrapper is not verified by, affiliated with, or supported by Amazon.</description></item><item><title>Troubleshooting k3s/containerd pods with nsenter</title><link>/posts/k3snsentertroubleshooting/</link><pubDate>Mon, 11 Jul 2022 09:00:00 +0000</pubDate><guid>/posts/k3snsentertroubleshooting/</guid><description>Problem You were troubleshooting a pod the other daaaaaaayyyy&amp;hellip;..
[mike@einsteinium $] k exec -it it-inventree-cache-6975b6445f-h5m5q -- bash root@it-inventree-cache-6975b6445f-h5m5q:/data# ping bash: ping: command not found root@it-inventree-cache-6975b6445f-h5m5q:/data# nc bash: nc: command not found root@it-inventree-cache-6975b6445f-h5m5q:/data# ss -alnp bash: ss: command not found root@it-inventree-cache-6975b6445f-h5m5q:/data# netstat bash: netstat: command not found root@it-inventree-cache-6975b6445f-h5m5q:/data# f*%! bash: f*%!: command not found Solution nsenter to the rescue! nsenter allows you to run commands from the namespace of the pod (like its being run on the pod) but while having access to all of the host binaries.</description></item><item><title>Gitea and DroneCI with your own Certificate Authority</title><link>/posts/giteadroneselfsignedtls/</link><pubDate>Sat, 26 Feb 2022 17:30:00 +0000</pubDate><guid>/posts/giteadroneselfsignedtls/</guid><description>Problem In my lab, I deployed my own ACME Certificate Authority using SmallStep (a post for another day). It signs all (valid) requests for the internal lab. The problem is, any container I pull down obviously won&amp;rsquo;t have my custom CA cert loaded into the containers trust store, there are quite a few places where you&amp;rsquo;re going to need to load in this cert.
It should be noted, that I chose to route everything through my Traefik Ingress Controller so everybody would be talking TLS to everybody else.</description></item><item><title>Migrating Gitea from Docker to Kubernetes</title><link>/posts/migratinggitea/</link><pubDate>Thu, 27 Jan 2022 04:32:09 +0000</pubDate><guid>/posts/migratinggitea/</guid><description>Problem I deployed Gitea initially using docker compose to just get it up and running. As things progressed on my team, we migrated most of our core services to k8s. Gitea was one of those core services. You&amp;rsquo;d think just a simple app backup/restore, except that Gitea has no real &amp;lsquo;restore&amp;rsquo; functionality.
Assumptions I&amp;rsquo;m going to assume a couple of things for the sake of keeping this brief.
You&amp;rsquo;re migrating to/from the same version of Gitea and same database backend (in this case, I&amp;rsquo;m going to be using Postgres).</description></item><item><title>External node_exporter -> K8s cluster metrics</title><link>/posts/promexternalmetrics-p1/</link><pubDate>Wed, 05 Jan 2022 16:00:00 +0000</pubDate><guid>/posts/promexternalmetrics-p1/</guid><description>TL;DR Use kind: Probe CRDs provided in the chart. See examples at the bottom.
CRD Spec File Background I wanted monitoring, and I had already deployed the kube-prometheus-stack (via the rancher-monitoring chart) and I wanted to leverage that for my non-k8s monitoring needs. It seemed silly to deploy an RPM or static docker based monitoring solution when I had that shiny k3s cluster sitting there, ready to go, with something already deployed on it.</description></item><item><title>Updating EdgeOS Firmware</title><link>/posts/edgeosfirmwareupdate/</link><pubDate>Tue, 28 Dec 2021 11:55:00 +0000</pubDate><guid>/posts/edgeosfirmwareupdate/</guid><description>TL;DR Run add system image but point at a http:// url, either via Ubiquiti&amp;rsquo;s download page or an internally hosted web server.
Problem You have your shiny new Ubiquiti EdgeRouter X, but you need to update the firmware. You want to update it via the CLI because Web UIs are for chumps. You don&amp;rsquo;t want to connect it to the internet because its running some horrifically old version of firmware and should be patched before it talks to the internet.</description></item><item><title>IOT Garage Door Preview</title><link>/posts/garagedoorpreview/</link><pubDate>Fri, 18 Sep 2020 04:44:43 +0000</pubDate><guid>/posts/garagedoorpreview/</guid><description>Whats going on here?! I wired the contacts for the button on each of my garage door openers to a relay board, connected that to an ESP8266, and programmed it with ESPHome using the generic output switch function.
Once I get the full tutorial on how to do this, I&amp;rsquo;ll provide wiring diagrams and example configuration files for ESPHome.</description></item><item><title>Garage Lights review</title><link>/posts/garagelights/</link><pubDate>Thu, 28 May 2020 04:44:43 +0000</pubDate><guid>/posts/garagelights/</guid><description>Timestamps Start-5:00 - unboxing/package contents 5:00-13:48 - custom wiring (skip if you&amp;rsquo;re just going to use the pre-packaged plugs) 13:48-End - final thoughts TL;DR I would buy these lights again, and not nearly as many as I did (They&amp;rsquo;re bright AF!)
Model: Barrina INWT504020650Bc Amazon: https://www.amazon.com/gp/product/B07F2WMCP2/</description></item></channel></rss>