You can upgrade the storage in your Raspberry Pi 4 with an NVMe drive. These drives usually plug into a PCIe lane which gives them a potential throughput of over 3000M/s for read and write access.
Yes I can hear you shouting already from Hacker News, Twitter and Reddit, so before we get into the tutorial, let’s start off with a disclaimer:
The Raspberry Pi 4 itself will not be able to achieve its full potential with the NVMe, but it will have two advantages over your SD card — reliability and sheer speed. Buying an NVMe and its associated…
Is Kubernetes right for us? That’s a question that will have been asked many times, but perhaps not publicly, for fear of looking out of touch, or behind the curve. After all, the term “imposter syndrome” was coined to describe the anxiety we face as we try to keep current with technology and what is happening in the industry.
Pictured above: Gartner’s Hype Cycle describe the effect of new and innovating technology on the ecosystem, from inflated expectations, to disillusionment.
In this post I’ll introduce a real-life example from a consulting prospect, who asked me whether he should adopt Kubernetes…
Did you know that you can put that spare Raspberry Pi of yours to work as a caching DNS server and ad-blocker using off-the-shelf packages for Linux?
Now, first of all let’s get something out of the way. Many of us will be aware of the open source project written in PHP called “PiHole.” PiHole automates
dnsmasq and adds a UI dashboard on top, so that you can geek out over the how many adverts you may have blocked.
It’s not that there’s anything against PiHole, but
dnsmasqis quite capable on its own, and designed to be so light-weight…
We’ve all been there. You turn on a machine in your home-lab, your Raspberry Pi, or an old PC and you’ve forgotten your password. At this point you start Googling, and that might be what brought you here.
The other options that you find to do this may be a little clunky, but if you have your SSH key installed on the remote machine, and Docker, you can reset your password in a few simple commands. It’s not particularly novel, or ground-breaking, but this may be useful to you at some point as it was to me today.
If you’ve been using a recent release of Kubernetes like 1.16, then you may have been used to seeing an odd warning message from
kubectl run. Up until recently, the command could be used to generate Deployment objects or YAML from the command line.
With Kubernetes 1.18 the user experience for generating and creating Deployments has been broken in a surprising way. Here’s why, and what you can do about it.
Before we get into the change itself, there are three primary ways to create a Deployment object in Kubernetes:
As a keen amateur photographer, I was immediately drawn in by the announcement on the Raspberry Pi blog about the new High Quality Camera — up to 12 megapixels — with adjustable lenses. Then, I noticed that something was missing — there were no comparisons or third-party reviews of the lenses to help the buyer decide which lens would suit them best. Worse than that, I would have to pay 150 USD up front to find out the differences.
Maybe that’s why you’re reading too? Should you upgrade or not?
In this post I’ll share sample photos from indoors, outdoors…
In this tutorial, I’ll show you how to add an LED to your Raspberry Pi so that you can show the status of an external system or API. The board we’ll use only costs a few dollars and has 8 programmable RGB LEDs making it a versatile and economic option.
Above: My IoT demo for Dockercon 2016 showing a temperature sensor status — green for within range and red for an alert.
We’ll start off by installing Golang (Go) and then downloading a library from Git which can control the Blinkt. …
I’ve been writing about running Docker on Raspberry Pi for 5 years now and things have got a lot easier than when I started back in the day. There’s now no need to patch the kernel, use a bespoke OS or even build Go and Docker from scratch.
Since my first blog post and printed article, I noticed that Raspberry Pi clusters were a hot topic.
They’ve only got even hotter as the technology got easier to use and the devices became more powerful.
This is post is aimed at newcomers to Kubernetes who want to work through a practical example of how to write a Golang API for managing your todo list and then how to deploy it to Kubernetes.
Every developer loves a good TODO list, right? How would we get anything done otherwise.
We’ll start by covering the bill of materials, then go on to configure Kubernetes, provision a Postgresql database and then install an application framework that can help us deploy Go APIs easily to Kubernetes without getting into the weeds.
We’ll create two endpoints in the API — one…
Whenever I share a photo of my workstation in my home office, I tend to be asked things like “What’s that keyboard?” and “What brand of microphone do you use?”
Given that interest, I wanted to write up a bill of materials (BoM) so that I can point folks here and so that you can get a configuration that works well together. I’ll include links where possible and some of them will be using Amazon affiliates.
My desk is a sit/stand with a built-in motor. …