Kubernetes
Extract a Kubernetes Secret From an etcd Snapshot
7 min readSomeone deleted a Secret, or overwrote it, and the only copy left is in an etcd snapshot. Restoring the whole cluster to get one object back would roll every other resource back …
Is Your Pod’s Environment Variable Not Resolving a Reference to Another Variable?
4 min readEnvironment variables play a crucial role in configuring Kubernetes Pods, but things can quickly go wrong when these variables fail to reference other variables correctly. This can …
Viewing Logs from the Previous Container Instance When Your Container Is Crashing
3 min readWhen a Kubernetes Pod enters a CrashLoopBackOff state, it can be challenging to figure out what’s going wrong, especially since the container may be repeatedly crashing and …
How to Use One Helm Chart for EKS and GKE
4 min readAs Kubernetes grows in popularity, many organizations are deploying clusters across multiple cloud providers like Amazon EKS (Elastic Kubernetes Service) and Google GKE (Google …
Kubernetes CrashLoopBackOff Example
3 min readIn Kubernetes, one of the most common issues users encounter is the CrashLoopBackOff status for a Pod. This error indicates that a container in the Pod is crashing repeatedly, …
Kubernetes Timezone in Pods: TZ env, tzdata, /etc/localtime
7 min readKubernetes does not have a timezone setting for pods, namespaces or the cluster. A container gets whatever its image provides, which for almost every base image is UTC, and it does …
Longhorn Backups: Protecting Persistent Data in Kubernetes
3 min readLonghorn provides a lightweight, reliable, and distributed block storage solution for Kubernetes, offering seamless backups of your persistent volumes (PVs) and ensuring your data …
Kubernetes Static vs Dynamic ConfigMaps
4 min readIn Kubernetes, ConfigMaps provide a way to decouple configuration data from containerized applications, allowing you to modify application behavior without rebuilding or …