OS Options For My Docker Setup on Raspberry PIs

As you know from previous posts, I setup hass.io on a new RPI 4 recently. Well that’s been working great for months, more than 6 months actually. However a few days ago the system stopped booting correctly, and I don’t have a micro HDMI cable to check the console, bummer. This lead me down a path that I’ve had floating around in my mind for a while. I want to move my Hass. [Read More]

Restore Hass.io From Snapshot on a Raspberry Pi 4

I recently setup hass.io (home assistant OS) on a new RPI 4 that I bought. I originally set it up with a 16G SD card, but later upgraded to a 64G SD card for more space. Searching online I couldn’t find a very good guide on how to restore from a hass.io snapshot. Here is a brief way it can be done using the ssh plugin: Install the ssh plugin. [Read More]

Using Raspberry Pi Zero W in Gadget Mode On a Linux Laptop

Raspberry Pi “Gadget” mode In my previous post I went over how to get tasmota on a BN Link BNC 60 smart outlet using a Raspberry Pi. When I started down that journey I tried to use Gadget mode on the RPI so I did not have to use a keyboard/monitor but I had issues. Turns out my issue was actually just that the USB cable I was using was a data only cable, so into the trash that cable went. [Read More]

Jenkins Docker Image with JCasC Part 2

Previously I wrote about a docker image that had Jenkins and the JCasC plugin. This post is about an update to that code with a few enhancements, such as: A job that runs daily that will apply the JCasC config, thus prevently drift. jenkins.yaml is split up into multiple yaml file and the entire dir is loaded. You can view the code on gitlab. Dockerfile The changes we made to the Dockerfile are simple using the CASC_JENKINS_CONFIG environment variable to set a dir, and then copy all the yaml files in casc_configs to that directory. [Read More]

Install Tasmota OTA on BN-LINK BNC-60

Flash Tasmota So it seems there are a few ways to flash Tasmota onto devices. An over-the-air way is via a tool called tuya-convert which is what I used. You can use any linux device that has a spare WIFI adapter to run the software. I have a few Raspberry Pi Zero W’s sitting around that work great. At first I tried to put the RPI into “gadget mode” using this guide. [Read More]

Jenkins Docker Image with JCasC

So I’m at Jenkins/Devops World this week and had some free time to mess with a tool I’ve been meaning to look into for some time: JCasC. This tool allows you to manage the Jenkins config via 1 or many yaml files. I’m used to using Jenkins master in a docker container and wanted to setup a docker image that has Jenkins setup with a default JCasC yaml so you can get started with Jenkins all setup to manage via code. [Read More]

Use docker multi-stage to install golang

Today I had a task to add a program written in golang to a Dockerfile that I wrote a few weeks ago. The Dockerfile did not currently have golang so I started looking at installing it. The obvious method was using yum to install golang, but I noticed when I do that it installed tons of other things that I didn’t really need. Then I looked at compiling it myself, but I’d need tools like make and it isn’t as nice as one yum command. [Read More]

2019 Oregon trip

We just got done with a trip to Oregon and it was beautiful. Oddly enough it only rained a tiny bit at the end of the trip. Albany Our first stop was in Albany, OR to get some pizza at a local place called ciddici’s. There are only 2 locations and they are both in Albany. The pizza here is interesting for 2 reasons: One, the crust is fairly crispy, but it compliments the rest of the pizza well. [Read More]

k3s on GCP's always free tier

k3s I’ve been working with Kubernetes a lot at work and it’s very interesting. Recently I heard of k3s by the people over at Rancher. It’s introduced as a “lightweight kubernetes”, the binary is less than 40MB, and only 512MB of ram to run. I’ve been wanting to test them out but my last Raspberry Pi 3 just died a few weeks ago. That’s where GCP comes in. GCP always free tier Google Cloud platform offers an always free tier and is one of the few cloud providers that offers compute (or VM) for free. [Read More]
blog  challege  30days  k8s  k3s  gcp  cloud  tech 

I Am Mother

Androids, AI, Robots

We Don’t Trust Robots I just got done watching the new netflix movie I Am Mother. While was watching it I noticed my SO frequently saying that she did not trust the “mother” robot. Sure the movie was setup a bit to make you think something fishy was going on, but it made me think: In general people don’t trust robots. Maybe it’s the Uncanny Valley or maybe it’s all the media we’ve been consuming for decades that tell us not to trust robots? [Read More]