How to avoid merge commits when syncing a fork
Whenever you work on open source projects, you usually maintain your copy (a fork) of the original codebase. To propose changes, you open up a Pull Request (PR). After you create a PR, there are chances that during its review process, commits will be made to the original codebase, which
Building x86 Images on an Apple M1 Chip
A few months ago, while deploying an application in Amazon Elastic Kubernetes Service (EKS), my pods crashed with a standard_init_linux.go:228: exec user process caused: exec format error error. After a bit of research, I found out that the error tends to happen when the architecture an
Kubernetes Architecture Explained: Worker Nodes in a Cluster
When you deploy Kubernetes, you get a cluster. And the cluster you get upon deployment would consist of one or more worker machines (virtual or physical) called nodes for you to run your containerized applications in pods. For each worker node to run containerized applications, it must contain a container
How to run Minikube on an Apple M1 chip without Docker Desktop
Docker Desktop failed me, and at the time (13th July 2022) of writing this article, Hyperkit, VirtualBox, and other hypervisors specified here don’t work on the Apple M1 chip. Weeks ago, while using Docker Desktop, it suddenly got stuck in a start-stop loop. I spent hours trying to resolve
Persisting Data in Kubernetes with Volumes
Persisting Data in Kubernetes is complex. And this is because though Pods have readable and writable disk space, the disk space still depends on the Pod’s lifecycle. When building applications on Kubernetes, there are use cases where developers would want storage for their Pods that doesn’t depend on
How to create and apply a Git patch file with git diff and git apply commands
An engineer just joined their first company. While debugging an issue, their co-worker shared a patch (also known as diff) file of changes to apply to their local branch of the same Git repository. The engineer could go line by line to retype and apply the changes, but doing so,
How to Schedule Future Processes in Linux Using at
Assuming you need to perform a task on a specific day sometime in the future. However, you know you will be away from the machine (computer) on that day. How will you perform the task? You can use the at terminal utility program to execute any non-interactive command at a
How to schedule a periodic task with cron
cron is a time-based scheduling utility program. With cron, you can launch routine background jobs at specific times, days, months, etc., on an ongoing basis. The jobs launched are referred to as cron jobs. The cron utility program is driven by a configuration file called /etc/crontab (cron table), which