Categories
Containerisation Docker

Docker Saving 361MB on an Image File with dockerignore

Initially I created a Dockerfile to run my django app. I chose python alpine to save on image size. There were a few issues with that but that is fixed in the below Dockerfile FROM python:3.8-alpine RUN mkdir -p /code/requirements WORKDIR /code RUN pip install –upgrade pip –no-cache-dir # Installing requirements.txt from project COPY ./requirements/*.txt […]

Categories
Uncategorized

Insight into how Cloud Based Companies build their Products

There was a nice article on digital ocean about technical debt. The meat of the article included inisight into the architecture and workings of a cloud based vendor. You can read the article about the 15000 db connections to 100 on digitalocean’s blog The architecture looked like the image below in the end:

Categories
Containerisation Kubernetes

Modernising Applications – my opinion

Over the past year I’ve taken a step back and evaluated how we build and deploy web applications. When we talk about modernising web applications people immediately jump to the cloud-native catch phrase. It ramps up pretty quick, it spirels quickly into kubernetes, docker, Paas, Ingress, load balancing, service mesh and site reliability engineering. For […]

Categories
Containerisation Kubernetes

Building the cheapest K8S Cluster: Creating a HA Kubernetes cluster with k3s for only R90

In this post I will show you how to create your very own Highly available K8s cluster for just R90 a month…the cheapest I could find. For this we will be using k3s, a lightweight kubernetes distribution created by rancher labs. So lightweight, that the requirements for the server nodes is only 512MB of RAM […]

Categories
Containerisation Containers Kubernetes

k8s Troubleshooting Guide

Found this K8S troubleshooting guide from learnk8s.io