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 adapter isn’t much more expensive than an older M2 drive, and you will now have that in your parts box if you need to repurpose it later (see my note on the CM4). …

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.

Image for post
Image for post

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, and a blog post that I wrote to show that there’s more to cloud than…

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?

Image for post
Image for post

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 dnsmasq is quite capable on its own, and designed to be so light-weight, it is shipped with all Android phones by default. …

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.

Image for post
Image for post


  • Docker already installed on the…

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:

How to create a Deployment in Kubernetes

  • Using the REST API and a client such as client-go (this is what OpenFaaS…

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, and studio conditions to help you compare each of the lenses against the original fixed-focus camera. I’ll share my thoughts on the practicalities and use-cases for the new HQ cameras, are they suitable for photographers?. To wrap up, I’ll give you my hints and tips for accessing and operating the camera along with my recommendation so that you can potentially save yourself some money. …

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.

Image for post
Image for post

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.

Image for post
Image for post

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.

Image for post
Image for post

Back then we used “old Swarm” which was arguably more like Kubernetes with swappable orchestration and a remote API that could run containers. Load-balancing wasn’t built-in, and so we used Nginx to do that job. …

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.

Image for post
Image for post

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 to create a new TODO item and one to select all TODO items. …

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?”

Image for post
Image for post

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.

The desk

My desk is a sit/stand with a built-in motor. …


Alex Ellis

CNCF Ambassador. OpenFaaS & Inlets founder —

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store