-
Notifications
You must be signed in to change notification settings - Fork 632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node-problem-detector not able to detect kernel log events for a Kind cluster #859
Comments
You may need to tune your daemonset yaml
|
Note: kind clusters are sharing the host kernel with sketchy isolation. What's the use case for NPD-on-kind? |
It's local testing and CI in my case. |
For testing NPD a fake should be used or a remote VM, we shouldn't introduce issues into the CI host's kernel and if we don't then we won't see any? for local development, you could use a VM or local-up-cluster.sh or kubeadm init kind is generally attempting to create a container that appears like a node, but it's on a shared kernel, in a container, which kubelet doesn't clearly support. in general kind works best for testing API interactions and node to node interactions but not kernel / host / resource limits for now unfortunately |
Just in case it helps other people, the following configuration works pretty well with my KinD installation: --config.system-log-monitor=/config/kernel-monitor.json,/config/systemd-monitor.json \
--config.custom-plugin-monitor=/config/iptables-mode-monitor.json,/config/network-problem-monitor.json,/config/kernel-monitor-counter.json,/config/systemd-monitor-counter.json That helped me to quickly understand what's going on behind the scenes, and then deploy node-problem-detector in our clusters. |
I've been trying to run node-problem-detector on a local kind cluster with 3 nodes (1 master, 2 worker). And after installing it as DaemonSet, firstly I'm seeing there are three pods running across three nodes including master. And also, when I pass any Kernel message as test, I don't see any events getting generated either in npd pod nor in the node's description.
The text was updated successfully, but these errors were encountered: