Setup Meross Smart Garage Door Opener with Merlin Roller door

Instead of talking about Kubernetes and Observability, this post is all about home automation. I have long been wanting to make my garage door control a bit smarter than using the usual remotes. Recently I was finally able to found a cheap and easy solution! It all started with this Ozbargain deal. So this post I’ll guide you through the steps I followed to set up Meross Smart Garage Door Opener (MSG100) with Merlin Roller Door (MR555MYQ).
Read full post

How to monitor Python app in Kubernetes with New Relic APM

Running a Python Flask web app on Kubernetes without monitoring is like driving without a dashboard: you won’t know when things go south until they do! Here’s how to set up New Relic APM for your app with minimal fuss (and a little fun). Pre-requisites Python and Docker ready to roll locally. A working Kubernetes cluster (local or cloud-based). A New Relic account (Free tier is fine).
Read full post

My Cka Experience

Recently I was able to tick CKA off my TODO list. It’s a interesting and unique exam in compare to other certs I have done in my career. Below are some points I want to share to help out folks who plan to take the exam. Was it hard? The exam is not super difficult in my opinion. My daily job gives me plenty of exposure to different Kubernetes issues.
Read full post

Fix Ubuntu APT Update Error After Kubernetes Package Repo Change

Kubernetes legacy package repositories (apt.kubernetes.io and yum.kubernetes.io) have been deprecated and frozen starting from September 13, 2023. It is strongly recommended to use the new package repositories hosted at pkgs.k8s.io. It is also required in order to install Kubernetes versions released after September 13, 2023. The new package repositories provide downloads for Kubernetes versions starting with v1.24.0. Ubuntu packages update will fail with 404 Not Found error if you have Kubernetes packages still point to the deprecated repositories.
Read full post

Fix Docker Container Golang Execute Format Error

Bumped into error Exec format error when tried to run a Go binary within a Docker container. The Go binary is compiled from my M2 Macbook. M2 Macbook uses ARM CPU arch. As a result the Go binary was by default complied with ARM CPU arch, which is different from the Docker image’s amd64 CPU arch. Hence the execution format error. To fix it, you can take two approaches. First, we can build the Go binary within the Docker image.
Read full post