How to Deploy a Multi Container Docker Compose Application On Amazon EC2

Container technology streamlined how you’d build, test, and deploy software from local environments to the cloud or on-premise data centers. But with the benefit of building applications with container technology, there was the problem of manually starting and stopping each container while building multi-container applications. To solve this problem,

Divine Odazie
Divine Odazie
AWS

How to Set Environment Variables on a Linux Machine

When building software, you start in a development environment (your local computer). You then move to another environment(s) (Staging, QA, etc.), and finally, the production environment where users can use the application. While moving through each of these environments, there may be some configuration options that will be different.

Divine Odazie
Divine Odazie
Linux

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

Divine Odazie
Divine Odazie
Git

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

Divine Odazie
Divine Odazie
Containers

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

Divine Odazie
Divine Odazie
Kubernetes

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

Divine Odazie
Divine Odazie
Kubernetes

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

Divine Odazie
Divine Odazie
Kubernetes

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,

Divine Odazie
Divine Odazie
Git