PAUL'S BLOG

Learn. Build. Share. Repeat.

Installing Kubernetes 1.30

2024-08-09 7 min read Tutorial Kubernetes Certification

Kubernetes on your Laptop (3 part series)

This is the third and final post in my “Kubernetes on your Laptop” series. In this post, I will show you how to install Kubernetes on Ubuntu server. If you haven’t read the previous posts, I recommend you go back and ensure you have an Ubuntu server running on your laptop before proceeding.

Continue reading

Installing Ubuntu Server 22.04

2024-08-08 6 min read Tutorial Kubernetes Certification

Kubernetes on your Laptop (3 part series)

This is the second post in my “Kubernetes on your Laptop” series. In this post, I’ll show you how to install Ubuntu Server on a virtual machine using VMware Fusion. If you need help installing VMware Fusion, check out my previous post.

Download Ubuntu Server Image

First thing we need to do is download the Ubuntu Server image based on your machine’s architecture:

Continue reading

Installing VMware Fusion

2024-08-07 3 min read Tutorial Kubernetes Certification

Kubernetes on your Laptop (3 part series)

I’m preparing to renew my CKA and CKS certifications, and to practice, I’ve decided to set up a local Kubernetes cluster as a lab environment on my laptop to work with control plane components which isn’t be possible in a managed Kubernetes environment like GKE, EKS, or AKS. There are other local Kubernetes options like Minikube, Kind, Docker Desktop, or Rancher Desktop but you may run into some limitations especially as you try to prepare for the CKA and CKS exams. I wanted to have a full-blown Kubernetes cluster running locally without any restrictions.

Continue reading

Publishing Helm Charts to GitHub Container Registry

2024-07-22 5 min read Tutorial

So you have a local Helm chart that you want to share with others?

In this quick tutorial, I’ll walk you through the process of publishing Helm charts to your very own Helm repository using GitHub Container Registry and GitHub Pages using GitHub Actions.

Before you begin, make sure you have the following prerequisites:

  • A GitHub account
  • A GitHub repository with your Helm chart
  • GitHub CLI installed on your local machine
  • Bash shell

GitHub Pages Setup

We will use GitHub Pages to host the Helm repository. So you will need to create a new branch called gh-pages. This branch will contain the Helm chart binaries and a README.md file with instructions on how to use the helm repo and install its charts.

Continue reading

Publishing Container Images to GitHub Container Registry

2024-06-18 4 min read Tutorial

Do you have a container image that you want to share with the world? GitHub Container Registry (GHCR) is a great place to store and share your container images. In this tutorial, we’ll show you how to publish container images to GHCR using GitHub Actions.

Start by creating a new repository on GitHub or cloning an existing one. Then make sure you have a Dockerfile in the root of your repository.

Continue reading

Strengthening the Secure Supply Chain

2024-03-17 12 min read Kubernetes Security GitOps Tutorial

This post will walk you through a demo I presented at the SCaLE21X conference. The session is titled, Strengthening the Secure Supply Chain with Project Copacetic, Eraser, and FluxCD and this step-by-step guide will enable you do it on your own.

Prerequisites

To begin, you will need to have the following:

We will also be using the following tools:

Continue reading

Bootstrap your GitOps-enabled AKS cluster with Terraform: A code sample using the Flux v2 K8s Extension

2023-09-28 6 min read GitOps Kubernetes Developer Tutorial

In my previous posts, we learned how to get started with GitOps on AKS using the K8s extension for AKS.

Then, we took a look at the Flux CLI and explored how it can be used to bootstrap your cluster and generate FluxCD manifests so that we can use GitOps to implement GitOps 🤯, and implemented Flux’s image update automation capability.

From there, we built on the concept of image update automation, and showed you how you can use Flagger to automate canary deployments.

Continue reading
Older posts