Tag

Kubelet

0 views collected around this technical thread.

IT Xianyu
IT Xianyu
Jun 6, 2025 · Cloud Native

Master Kubernetes on AlmaLinux: Step‑by‑Step Setup with Containerd, kubeadm, and More

This guide walks you through preparing three AlmaLinux servers, disabling firewalls and SELinux, installing Containerd as the CRI, adding Kubernetes repositories, installing kubeadm, kubelet and kubectl, configuring the runtime, and verifying each component so you can confidently bootstrap a production‑ready Kubernetes cluster.

AlmaLinuxKubeletKubernetes
0 likes · 21 min read
Master Kubernetes on AlmaLinux: Step‑by‑Step Setup with Containerd, kubeadm, and More
System Architect Go
System Architect Go
Oct 28, 2024 · Cloud Native

How Kubernetes Manages Container Images on Nodes

This article explains how Kubernetes, through the Kubelet and CRI components such as containerd and cri‑o, pulls container images, stores them on the node, and performs periodic garbage collection based on configurable age and disk‑usage thresholds.

Image Garbage CollectionKubeletKubernetes
0 likes · 6 min read
How Kubernetes Manages Container Images on Nodes
System Architect Go
System Architect Go
Sep 22, 2024 · Cloud Native

Understanding the Internal Process of kubectl Commands (e.g., kubectl exec)

This article explains how the kubectl command interacts with the Kubernetes control plane, detailing one‑way HTTPS requests and two‑way WebSocket communications, and walks through the full execution flow of a kubectl exec command across kube‑api‑server, kubelet, and the CRI runtime.

CRIExecKubelet
0 likes · 6 min read
Understanding the Internal Process of kubectl Commands (e.g., kubectl exec)
System Architect Go
System Architect Go
Sep 18, 2024 · Cloud Native

Understanding DNS and Its Configuration in Kubernetes

This article explains the fundamentals of DNS, its role as an application‑layer protocol, and how Kubernetes generates and manages each pod's /etc/resolv.conf through kubelet, covering nameserver, search, ndots options, dnsPolicy choices, and custom dnsConfig examples.

CoreDNSKubeletKubernetes
0 likes · 6 min read
Understanding DNS and Its Configuration in Kubernetes
Efficient Ops
Efficient Ops
Dec 4, 2023 · Cloud Native

How Does a Kubernetes Pod Get Created? Step‑by‑Step Walkthrough

This article walks through the complete Kubernetes pod creation workflow, from submitting the YAML with kubectl to the API server, storing the definition in etcd, scheduling, kubelet orchestration, container runtime delegation, CNI networking, health probing, and endpoint setup for services.

CNIETCDKubelet
0 likes · 3 min read
How Does a Kubernetes Pod Get Created? Step‑by‑Step Walkthrough
Tencent Cloud Developer
Tencent Cloud Developer
Jul 27, 2023 · Cloud Native

Kubernetes Pod IP Allocation: CIDR, Lifecycle, CNI IPAM, Dual‑Stack and IP Reservation

The article explains how Kubernetes allocates Pod IPs—from cluster and node CIDR configuration, through the kubelet‑driven Pod lifecycle and CNI IPAM process, including dual‑stack support, hostNetwork handling, and optional IP reservation/reclamation mechanisms for stable stateful workloads.

CNIDual-StackIPAM
0 likes · 21 min read
Kubernetes Pod IP Allocation: CIDR, Lifecycle, CNI IPAM, Dual‑Stack and IP Reservation
Cloud Native Technology Community
Cloud Native Technology Community
Jun 13, 2023 · Cloud Native

Retrieving Previous Container Logs in Kubernetes with kubectl --previous

When a pod crashes and continuously restarts, using the standard kubelet logs may fail to capture output, but the kubectl --previous flag can retrieve logs from the prior container instance by accessing the kubelet‑managed log files under /var/log/pods.

Kubeletkubectllog troubleshooting
0 likes · 6 min read
Retrieving Previous Container Logs in Kubernetes with kubectl --previous
Efficient Ops
Efficient Ops
Feb 1, 2023 · Information Security

How a Misconfigured Kubelet Led to a Crypto‑Mining Breach and How to Secure Your Cluster

The article recounts a Kubernetes cluster intrusion where a misconfigured kubelet allowed crypto‑mining, details the forensic steps taken—including empty iptables, kubelet API exposure, and commented‑out settings—and offers concrete hardening recommendations to prevent similar attacks.

Cluster HardeningKubeletKubernetes
0 likes · 5 min read
How a Misconfigured Kubelet Led to a Crypto‑Mining Breach and How to Secure Your Cluster
Architecture Digest
Architecture Digest
Apr 25, 2022 · Cloud Native

Kubernetes Architecture Overview and Detailed Components

This article explains the goals, design principles, and detailed components of Kubernetes architecture, covering its control plane, API server, etcd store, scheduler, kubelet, container runtime, and kube-proxy, and summarizes how these parts work together to provide a scalable, portable, and automated container orchestration platform.

Container OrchestrationControl PlaneETCD
0 likes · 12 min read
Kubernetes Architecture Overview and Detailed Components
Efficient Ops
Efficient Ops
Mar 30, 2022 · Cloud Native

How to Fix Common Kubernetes Memory Leaks and Certificate Expiration Issues

This article walks through diagnosing and resolving two frequent Kubernetes problems—memory‑leak errors that cause "cannot allocate memory" or "no space left on device" messages, and expired cluster certificates—by checking cgroup stats, recompiling runc and kubelet, and renewing certificates with kubeadm for long‑term validity.

KubeletKubernetesMemory Leak
0 likes · 12 min read
How to Fix Common Kubernetes Memory Leaks and Certificate Expiration Issues
Efficient Ops
Efficient Ops
Feb 8, 2022 · Information Security

Kubelet Misconfiguration Triggered a Mining Attack – What We Learned

After discovering a compromised node in our self‑built Kubernetes cluster that was being used for Monero mining, we traced the breach to empty iptables rules and a misconfigured kubelet allowing anonymous API access, then outlined firewall hardening, network isolation, and secure kubelet practices to prevent future intrusions.

KubeletKubernetesMining Attack
0 likes · 6 min read
Kubelet Misconfiguration Triggered a Mining Attack – What We Learned
Sohu Tech Products
Sohu Tech Products
Dec 22, 2021 · Cloud Native

Zero‑Downtime Upgrade of Large‑Scale Kubernetes Clusters from v1.10 to v1.17

This article details the challenges, strategies, and step‑by‑step procedures for upgrading a 1,000‑node Kubernetes cluster from version 1.10 to 1.17 without service interruption, covering compatibility checks, in‑place versus replacement upgrades, container‑restart avoidance, pod eviction handling, and TCP connection issues.

CNCFCluster UpgradeKubelet
0 likes · 22 min read
Zero‑Downtime Upgrade of Large‑Scale Kubernetes Clusters from v1.10 to v1.17
vivo Internet Technology
vivo Internet Technology
Dec 16, 2021 · Cloud Native

vivo Kubernetes Cluster Zero-Downtime Upgrade from v1.10 to v1.17: Practices and Solutions

Vivo’s internet team performed a zero‑downtime, in‑place upgrade of a 1,000‑node Kubernetes cluster from v1.10 to v1.17 by analyzing changelogs, backporting fixes, adjusting kubelet hash validation, adding tolerations, ensuring node labels, and using staged binary rollout, completing the process in roughly ten minutes.

Cluster UpgradeContainer OrchestrationDevOps
0 likes · 19 min read
vivo Kubernetes Cluster Zero-Downtime Upgrade from v1.10 to v1.17: Practices and Solutions
Efficient Ops
Efficient Ops
Nov 26, 2021 · Information Security

How a Misconfigured Kubelet Led to a Crypto‑Mining Breach and What to Do

A self‑built Kubernetes cluster suffered a crypto‑mining intrusion due to empty iptables and a misconfigured kubelet, prompting a detailed post‑mortem that outlines the symptoms, root‑cause analysis, and practical hardening steps to protect similar environments.

KubeletKubernetescrypto mining
0 likes · 5 min read
How a Misconfigured Kubelet Led to a Crypto‑Mining Breach and What to Do
Efficient Ops
Efficient Ops
Sep 12, 2021 · Information Security

How a Misconfigured Kubelet Led to a Crypto‑Mining Breach—and How to Prevent It

A Kubernetes node was compromised for Monero mining due to empty iptables, exposed kubelet API, and a commented‑out security flag, prompting a detailed forensic analysis and a set of hardening steps to secure the cluster against similar attacks.

Cluster HardeningKubeletKubernetes
0 likes · 5 min read
How a Misconfigured Kubelet Led to a Crypto‑Mining Breach—and How to Prevent It
Cloud Native Technology Community
Cloud Native Technology Community
Jan 11, 2021 · Cloud Native

Deep Dive into Kubernetes kubelet: Code Structure, Pod Lifecycle, and Core Modules

This article explores the Kubernetes kubelet source code, detailing its directory layout, the main kubelet.go entry point, the Run initialization sequence, the sync loop mechanics, and key questions about pod creation, synchronization, networking, volume management, and cleanup within a v1.13 cluster.

GoKubeletKubernetes
0 likes · 8 min read
Deep Dive into Kubernetes kubelet: Code Structure, Pod Lifecycle, and Core Modules
Top Architect
Top Architect
Oct 19, 2020 · Cloud Native

Step-by-Step Guide to Installing Kubernetes v1.16.0 on CentOS 7 with Docker and Flannel

This article provides a detailed, step‑by‑step tutorial for installing Kubernetes v1.16.0 on CentOS 7 virtual machines, covering Docker‑CE installation, prerequisite system configuration, master and node setup, flannel network plugin deployment, and includes all necessary command‑line snippets and the full kube‑flannel.yml manifest.

CentOS7DockerKubelet
0 likes · 20 min read
Step-by-Step Guide to Installing Kubernetes v1.16.0 on CentOS 7 with Docker and Flannel
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Sep 17, 2019 · Cloud Native

Mastering Kubernetes Node Allocatable: Reserve Resources to Prevent Cluster Failures

Learn how Kubernetes distinguishes compressible (CPU) and non‑compressible (memory, storage) resources, why default kubelet settings can cause resource contention, and how to use the Node Allocatable feature—configuring kube‑reserved, system‑reserved, and eviction thresholds—to safely reserve resources for system daemons and avoid cluster instability.

KubeletKubernetesNode Allocatable
0 likes · 9 min read
Mastering Kubernetes Node Allocatable: Reserve Resources to Prevent Cluster Failures
Tencent Cloud Developer
Tencent Cloud Developer
Apr 22, 2019 · Cloud Native

In-Place Container Upgrade in Kubernetes: Mechanism and Implementation

Kubernetes performs in‑place container upgrades by detecting spec changes, computing pod actions that selectively kill and restart only the affected containers while preserving the pod sandbox, allowing sidecar updates without full pod recreation, reducing downtime and enabling custom operators for gray‑scale rolling upgrades.

Container UpgradeIn-place UpdateKubelet
0 likes · 16 min read
In-Place Container Upgrade in Kubernetes: Mechanism and Implementation
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Dec 19, 2017 · Cloud Native

Inside Kubelet: How Kubernetes Starts Pods and Manages Nodes

This article explains the Kubelet service lifecycle, its core functions, code structure, startup sequence, and the detailed steps Kubernetes follows to create and run Pods, providing code snippets and diagrams for developers who want to understand or extend Kubelet internals.

GoKubeletKubernetes
0 likes · 9 min read
Inside Kubelet: How Kubernetes Starts Pods and Manages Nodes