Skip to content

Instantly share code, notes, and snippets.

View thezawzaw's full-sized avatar

Zaw Zaw thezawzaw

View GitHub Profile
@thezawzaw
thezawzaw / deploy-app-multi-sources-argocd.md
Last active October 13, 2025 07:46
Deploy a Remote Helm Chart with a Modified Values File from a Git Repository using Argo CD

Deploy a Remote Helm Chart with a Modified Values File from a Git Repository using Argo CD

argocd-multiple-sources

This page describes how to deploy a Helm chart from the remote Helm repository with modified or updated values.yaml file from the GitOps repository (GitLab or GitHub repository) using Argo CD.

Use Case

  • You want to deploy a Helm chart from the remote Helm repository.
  • And you also want to overwrite the values with only the modified or updated values.yaml file from your GitOps repository.
@thezawzaw
thezawzaw / automate-tls-ssl-certs-cert-manager.md
Last active October 9, 2025 05:11
Automating TLS/SSL Cert Management with Cert-Manager on Kubernetes

Automating TLS/SSL Cert Management with Cert-Manager on Kubernetes

This page describes how to setup Cert-manager and generate TLS/SSL certificates automatically using Cert-manager on Kubernetes.

Prerequisites

  • Kubernetes
  • Helm Package Manager Tool

Installation

@thezawzaw
thezawzaw / create-book-mdbook.md
Last active October 9, 2025 05:11
Creating a Book or Documentation with mdBook

Creating a Book or Documentation with mdBook

This page describes how to create a modern online book (or) tech documentation from the Markdown files with mdBook, developed and maintained by the Rust Programming Language community, and how to serve it locally.

mdBook is a great tool for creating product or API documentation, tutorials, guides, course materials or anything that requires a clean, easily navigable and customizable.

Download and install the mdbook CLI tool using the binary file,

@thezawzaw
thezawzaw / logging-grafana-loki.md
Last active October 14, 2025 03:47
Grafana Loki logging Setup and Forward logs using Promtail

Grafana Loki logging Setup and Forward logs using Promtail

This page describes how to setup Grafana Promtail and Loki for sending the contents of local logs to the centralized Grafana Loki server or Grafana Cloud.

Prerequisties

  • Docker Engine
  • Docker Compose

Setup Grafana Loki

@thezawzaw
thezawzaw / containers-from-scratch.md
Last active February 16, 2025 03:32
Containers from Scratch: Deep Dive into Container Networking

Containers from Scratch: Deep Dive into Container Networking

This page describes how to build and run containers from scratch, and configure container networking from scratch using the command line tools, chroot, unshare, ip and the Linux kernel feature, Namespaces. We will also demonstrate how to use them.

Before We Begin

  • Linux x86_64 Host
  • chroot ─ a user-space program to change the root filesystem of the calling process.
  • unshare ─ a user-space program to run a program in new namespace that isolates the process ID, mount, IPC, network, and so on.
@thezawzaw
thezawzaw / speed-up-c-cpp-builds-ccache.md
Last active July 18, 2024 10:02
Speeding Up C/C++ Builds Using Ccache (Compiler Cache)

Speeding Up C/C++ Builds Using Ccache

This page contains a guide on how to setup Ccache, Compiler Cache, and speed up the C/C++ compilation time using Ccache. And this guide will focus on the Linux x86_64 system.

Prerequisities

@thezawzaw
thezawzaw / build-minimal-linux.md
Last active July 1, 2024 06:07
Building a minimal Linux system from Scratch

Building a minimal Linux system from Scratch and Booting in QEMU Emulator

Prequisites

Make sure you installed the following tools on your Linux host.

Please, see the details information on Minimal requirements to install required build tools on your Linux host for compile the Busybox and Linux kernel.

  • Git
  • GCC or Clang Compiler
  • QEMU Emulator