Velero AWS Account Migration [Case Study]
November 15, 2023
Categories: Tags:TL;DR: I recently helped an organization migrate a set of applications deployed in Kubernetes (EKS) across AWS accounts using Velero. This case study describes that process.
![images/account-structure.png](/posts/2023/11/velero-aws-account-migration/images/account-structure_huaabae412b344fdeb622a3e075da779bd_82045_1000x700_fit_q85_box_3.png)
Container Init Process
June 2, 2023
Categories: Tags:TL;DR: When deploying applications in containers, understanding the role and implications of the init process is critical. In this article, we’ll delve into how our application runs as Process ID #1 in a container, and what this means for our application’s signal handling and zombie process management.
![images/init-process-diagram.jpg](/posts/2023/06/container-init-process/images/init-process-diagram_hu7fba9da1679ce4a56c592454604cb9c1_934031_1000x700_fit_q85_box.jpg)
Writing a Good Node.js Dockerfile
March 28, 2023
Categories: Tags:TL;DR: Tutorials often show simplistic, naive Dockerfiles. We can do better.
![images/crappy-node-dockerfile.jpeg](/posts/2023/03/writing-a-nodejs-dockerfile/images/crappy-node-dockerfile_hu5cf2b4cb3eacd78467515a504c0d4027_115853_1000x700_fit_q85_box.jpeg)
Docker CMD vs ENTRYPOINT
March 28, 2023
Categories: Tags:TL;DR: The simplest possible example to demonstrate the difference between Docker’s CMD and ENTRYPOINT instructions:
![images/cmd-vs-entrypoint.png](/posts/2023/03/docker-cmd-vs-entrypoint/images/cmd-vs-entrypoint_hu6d79aaca977c47300193cd67e8d07005_294714_1000x700_fit_q85_box_3.png)
Cloudflare Workers Custom Link Forwarder
March 3, 2023
Categories: Tags:TL;DR: Setting up a custom link forwarder (e.g. links.devopsdirective.com/foo
) takes about 3 minutes using Cloudflare workers!
![images/cloudflare-workers-screenshot.png](/posts/2023/03/cloudflare-workers-link-forwarder/images/cloudflare-workers-screenshot_hu1172fa3925c8e33c74cf567bb6254bfb_704271_1000x700_fit_q85_box_3.png)
Kubernetes Maintenance Page
October 30, 2022
Categories: Tags:TL;DR: Need to set up a quick maintenance page for a service hosted in Kubernetes? You can create a custom page and host it with nginx without even needing a custom container image!
A gist containing the full code can be found here: LINK
![images/maintenance-page-screenshot.png](/posts/2022/10/kubernetes-maintenance-page/images/maintenance-page-screenshot_hubc952eaf29fa546451e7c814fdb7e062_500425_1000x700_fit_q85_box_3.png)