BCBernie Camejoinbernieops.com·Apr 25, 2025 · 2 min readHow to Rescue Your Kubernetes Cluster with etcd BackupsHow to perform a backup of the etcd datastore To back up the cluster store, or etcd, we can create a snapshot file using the CLI tool etcdctl. This lab assumes a successful installation of the etcdctl tool and that prior knowledge of what etcd is and...00
BCBernie Camejoinbernieops.com·Apr 18, 2025 · 2 min readReplicaSets in Kubernetes: Core Building Blocks for Application ScalingReplicaSets are Kubernetes objects, like everything else in k8s. Their primary function is to ensure that a stable number of replica pods are always running the cluster in accordance with the spec in the YAML file. For this reason, they are instrumen...00
BCBernie Camejoinbernieops.com·Apr 16, 2025 · 2 min readKubernetes Administration 101: Basic Cluster Tasks Every Admin Should KnowExamining pods Using kubectl we can examine the pods running in the cluster. The simplest way is to run this command. # Simple command to examine the pods $ kubectl get po # To get information about the pods running in a specific namespace and showi...00
BCBernie Camejoinbernieops.com·Apr 14, 2025 · 1 min readHow to create Kubernetes YAML files the smart way with kubectlTo save time, and ensure the syntax and formatting are correct, a more efficient way to create a YAML file with the specs for a pod is to use kubectl and the --dry-run flag. $ kubectl run pod --image nginx --dry-run=client -o yaml > nginx-pod.yaml T...00
BCBernie Camejoinbernieops.com·Apr 10, 2025 · 2 min readBuilding a Kubernetes Cluster from Scratch: Part 2 - Installing Container Runtime and Kubernetes ComponentsThis is the second part of my Kubernetes installation series using kubeadm. In Part 1, I covered the environment preparation, including hardware requirements and network configuration, as well as required Linux kernel modules. In this Part 2, I'll co...00