I have scenario where I need to determine what is the container run-time engine and its version configured on the Kubelet so that I can make decision based on the container run time whether its docker or crio etc.
Though there are REST APIs on the Kubelet to get the list of pods (using http://localhost:10255/pods) and perf counters (http://localhost:10255/stats/summary) etc.. but there is no /nodes API or /info command on the kubelet.
Is anyone has any pointers how to determine what is the container runtime and its version configured on the kubelet? Appreciate any pointers on this.