Introduction
Upgrading Cilium, a critical networking and security solution for Kubernetes, often introduces complex challenges. Recently, users upgrading from Cilium 1.18.16 to 1.19.10 or 1.20.4 have encountered a persistent issue: the Cilium agent enters an Init:CrashLoopBackOff state. This failure originates from the config init container , which is unable to establish a connection to the Kubernetes API server due to an I/O timeout . While the worker node can successfully reach the API server's ClusterIP using tools like curl , Cilium’s initialization process fails to do so, exposing a specific connectivity issue within the containerized environment. This discrepancy highlights a critical interaction between Cilium’s initialization logic and Kubernetes API server accessibility during upgrades.
The implications are severe: prolonged cluster downtime, potential misapplication of network policies, and increased operational burden for administrators.…