Cases2 cases
1 to 2 of 2
IL-0174After an upgrade to Fluent Bit 2.0, logging sidecars that used the Kafka output plugin kept restarting with SIGSEGV because the plugin read a corrupted record as a map without checking its typeHyperconnect2023- Symptoms
Hyperconnect upgraded the Fluent Bit sidecar of one service with little user impact to Fluent Bit 2.0 and watched it for several days. Only the containers that used the Kafka output plugin were being restarted, each time on SIGSEGV. The stack trace printed at the crash pointed into the Kafka output plugin, but no core file was left behind, because Fluent Bit ran inside Kubernetes.
- Trigger
Upgrading the Fluent Bit logging sidecar to version 2.0 (the 2.0.3 image) on a service with low user impact.
- Root cause
- Component
- Contributing factor
- Detection
The team monitored the upgraded sidecars for several days after the upgrade and saw that the containers using the Kafka output plugin were restarting with SIGSEGV.
- Remediation
- patched the Fluent Bit Kafka output plugin to skip data that is not a map before calling produce_message()
- ran a custom build with the patch as the sidecar, which stopped the segmentation faults
- submitted the patch upstream as fluent-bit pull request 6452, which was merged eight days later
- Lessons
A segmentation fault in a container can be debugged from its core file, but Kubernetes does not keep one by default: a volume mounted into the pod and a core_pattern pointing into it on the node are needed first. The debug image of the same version, run locally on the same CPU architecture with the matching source checkout, gives a gdb environment that matches production. Core files contain part of the process memory and may hold sensitive data, so they should be shared with care.
IL-0074All AirMap platform services down as worker nodes went NotReady and pods crash-looped on network and DNS failuresAirMap2018- Symptoms
At about 15:00 UTC on 19 July 2018, monitoring alerted on rising 5xx responses from several APIs, most notably pilot and tiles. Logins failed first, because the pilot service fetches the user's profile, and from there all services became unresponsive. Every affected API ran on the production Kubernetes cluster.
- Root cause
- Component
- Contributing factor
- Detection
Monitoring alerted on an increase in 5xx responses from several APIs, most notably pilot and tiles.
- Remediation
- restarted the kubelets on the stuck worker nodes, which did not last
- restarted all worker nodes in a staggered order starting at about 18:00 UTC, which took about 1.5 hours
- Action items
- Restart nodes on a rolling schedule to keep nodes and kubelets healthy until the fixes land upstream and reach the cloud provider, Microsoft Azure
- Lessons
When nodes keep falling back to NotReady after kubelet restarts and pods fail on network and DNS errors, a known upstream bug may be the cause; matching the symptoms to the upstream issue tracker, with help from the community, found the cause and the fix candidates.
These 2 cases involve kubelet and Telemetry agent. kubegap audits a Kubernetes cluster for gaps like these, read-only, from Claude Code or Codex; its checks cite public reports like the ones in this library.
By root cause1
Software defect2 cases
- Component
- Contributing factor
- Organisation
IL-0174After an upgrade to Fluent Bit 2.0, logging sidecars that used the Kafka output plugin kept restarting with SIGSEGV because the plugin read a corrupted record as a map without checking its typeHyperconnect2023IL-0074All AirMap platform services down as worker nodes went NotReady and pods crash-looped on network and DNS failuresAirMap2018