Category: Tech

  • Using Gemini-CLI and MCP server to organize my dropbox

    Using Gemini-CLI and MCP server to organize my dropbox

    I think many people face the same dilemma I did: we don’t want to lose data, so we simply dump everything into cloud storage (like Dropbox). The same thing happens when I back up my computer — I often do it in bulk, with big gaps between backups. Each time, I come up with a…

  • Troubleshooting GKE Pods in CrashLoopBackOff: How to Start with Strace

    Troubleshooting GKE Pods in CrashLoopBackOff: How to Start with Strace

    In most real-world Kubernetes cases, infrastructure engineers don’t need to understand how a container itself works. This is reasonable because container image developers are typically responsible for it. However, a problem often arises when a container is deployed on Kubernetes, which is such a complex deployment and orchestration system. Sometimes, unexpected components can influence a…

  • How do we know if Kubelet leaks Inotify watchers

    How do we know if Kubelet leaks Inotify watchers

    Kubelet as the node agent of Kubernetes OSS, always needs to monitor paths. Using Inotify to do so, Kubelet exposes to possibility of leaking of Inotify watchers. In recent, I observed a case where the Kubelet was hung for enormous Inotify usage. This Post briefly discussed how I debug the process and locate the problem.…

  • Practical debugging methods for Kubelet

    Practical debugging methods for Kubelet

    Kubelet, a vital component in Kubernetes, runs on each node in your cluster. It acts as the field manager, receiving instructions from the Kubernetes API server and ensuring containerized applications run smoothly. Kubelet is responsible for downloading container images, pulling secrets, and launching pods – the basic units containing your application containers. It also monitors…

  • Selected Labs for CS350 courses in Binghamton University

    Selected Labs for CS350 courses in Binghamton University

    TL; DR. This will be a series regarding labs I gave during the spring 2022 semester. The reason why I am writing this down is that it has been a week and no students have asked for the solution for the last Lab. I realize that the learning gap between students is huge, especially when…