Raspberry Pi MicroSD Card Benchmarks

   607 words    3 minute(s)
I have a few Raspberry Pis in my network and I wanted to make them go faster when running things on them. The biggest bottleneck I see is the disk I/O performance and this is how I ran a few benchmarks to see what their performance is. Unofficial Methods I found a nice website where someone had done a little testing and used their hdparm and dd write methods. These are the commands.

VMWare ESXi Certificates

   520 words    3 minute(s)
In Google Chrome, it doesn’t remember what username/password you had entered into a web page if the SSL certificates are not valid. VMware ESXi uses a self-signed certificate by default for it’s web interface and so, Google Chrome doesn’t see this as valid. This makes logging into my ESXi host a little more cumbersome then I want. To fix it, we create a certificate authority, create a private key, create a signing request, create the certificate, and finally apply it all.

Debian Mirror Kubernetes

   1170 words    6 minute(s)
My brother wrote up a nice article about how to run a debian mirror on kubernetes. I wanted to take it a step further and make it easier to configure without having to rebuild the image to add another repo. It needs to store gpg keys and some apt sources.list files to make it easy to use the repo. We will also enable directory browsing with NGINX. Dockerfile A simple Dockerfile to create the image our cron jobs will use.

Mounting an NFS Share in a Kubernetes Pod

   270 words    2 minute(s)
There are a couple of ways to mount a NFS volume in a Kubernetes Pod. This will go over mounting a share from an NFS server on to a directory inside of a Kubernetes Pod and is probably most simplistic way to accomplish this. You will need a server already set up and running NFS and a kubernetes cluster. NFS Server For my server I have the following set up in my /etc/exports file.

Kubernetes Non HTTP HTTPS Ingress Ports and NGINX

   505 words    3 minute(s)
Kubernetes makes it really easy to work with HTTP/S websites as containers. Most ingress controllers work out of the box with them. But, I needed a way to use it with a different TCP service, such as SSH on TCP port 22. I am running this on Rancher 2.5 with Kubernetes 1.19. I don’t know if how it sets up the networking in Kubernetes is any different than any other setup.

Retrieving SSL Certificates

   635 words    3 minute(s)
I needed a quick and dirty way to retrieve import a ca certificate from my docker registry so I don’t have to use the insecure_registries option in my /etc/docker/daemon.json file. There were several ways to go about this and here they are. Using Grep This option works, except it adds an extra character to the end of the last line. I couldn’t figure out how to strip these off. I think it is some null character or something.

My First Google Chrome Extension

   392 words    2 minute(s)
I needed an easy way to go to a hostname of the domain my computer is on in my web browser. Things like wp.domain.lan or something. When I type domains ending with .lan into Google Chrome, it takes me to the search page. What I want it to do is take me to the url I typed in and I usually want it to use https as well. To solve this, I created an extension following this Google Chrome developer guide.