Posts

Showing posts from February, 2025

80% of everything will come from 20% of your efforts.

Image
Health: 80% eating, 20% exercising Wealth: 80% habits, 20% math Happiness: 80% purpose, 20% fun Achieving: 80% listening, 20% speaking Talking: 80% listening, 20% speaking Improving: 80% persistence, 20% ideas Learning: 80% understanding, 20% reading Relationships: 80% giving, 20% receiving "Prioritize the 80%, and the rest will fall into place."  

KB: Kubernetes tech stack

Image
Explanation of the Flow Cluster : The top-level structure that contains all Kubernetes components. API Server (Pod/Container) : The control plane component that communicates with the cluster. Kubelet : A node agent running on each node, ensuring that pods are running. Container Runtime (containerd, Docker, CRI-O) : Manages container execution. Containers (Pods) : The actual application workloads running inside the cluster. This hierarchy shows the relationship between each component in a Kubernetes environment. Let me know if you need any modifications!

KB: Fixing Kubernetes Cluster after expired certs

Fixing Kubernetes API Server and Kubelet Issues After Expired Certificates Backup Existing Kubernetes Configuration Create a backup of Kubernetes certificates and configuration files Copy /etc/kubernetes/pki/ and /etc/kubernetes/*.conf to a backup directory Renew Expired Certificates Check expired certificates using kubeadm certs check-expiration Renew all certificates with kubeadm certs renew all Restart kubelet and container runtime using systemctl restart kubelet and systemctl restart containerd or systemctl restart docker Regenerate bootstrap-kubelet.conf if Missing Run kubeadm init phase kubelet-start to regenerate it If still missing, manually copy admin.conf to kubelet.conf Restart kubelet using systemctl restart kubelet Fix Unauthorized Errors Ensure kubectl is using the correct kubeconfig Copy /etc/kubernetes/admin.conf to ~/.kube/config and set proper ownership and permissions Check kubelet logs for authentication errors with journalctl ...