Skip to main content

Why is a tool or flag missing from the node image or in-cluster components?

Syself support For release

Debugging tools such as tcpdump, strace or conntrack are missing because Syself Linux is a minimal, immutable Kubernetes node OS. It ships what a node needs to run Kubernetes, plus the standard diagnostics: journalctl, ip, ss, crictl, dmesg and lsblk. The OS is read-only and has no package manager, so you cannot install anything on a node. Every node runs exactly the image Syself built and tested.

Bring your tools in a debug container instead. A common image is nicolaka/netshoot, which bundles tcpdump, strace, conntrack, dig, curl, mtr and more:

plaintext
				kubectl debug node/<node-name> -it --image=nicolaka/netshoot
			

This starts a pod on that node and opens a shell in it. The pod runs in the node's network and process namespaces, so tcpdump -ni any port 53 in that shell shows the DNS traffic of the whole node. The node's filesystem is mounted at /host. Add --profile=sysadmin when a tool needs full privileges, for example strace on a process of the node. Delete the pod when you are done.

To test from a pod's point of view with the same image, follow Debug node networking. For a problem below Kubernetes, such as a node that does not join, use Emergency SSH access and Debug a node.

The same applies to in-cluster components. Syself sets their configuration and flags per Cluster Stack release and tests them together. The settings you choose per cluster are the options on the Cluster object, listed in the Cluster Configurator. For kubelet and containerd, see Can we tune kubelet and containerd settings? If you have a use case that needs a tool on the node or a flag that is not exposed, reach out to us at support@syself.com⁠.

The full list of what you can change on a node is in What you can and cannot change on a sealed node.

Still stuck?

Prepare your case, then email us.