Hi team,
I need help to find What is the flavor and version of Operating System on which the Kubernetes nodes are running?
Could some one through some light on it please?
Regards,
Ramar V.
Hi team,
I need help to find What is the flavor and version of Operating System on which the Kubernetes nodes are running?
Could some one through some light on it please?
Regards,
Ramar V.
You can ssh into a node and run uname -a
or cat /etc/os-release
to get that information. You might also try k get node NODE-NAME -o json | jq .status.nodeInfo
If you are on the node (e.g. controlplane), cat /etc/os-release
is best to get all the disto information. uname -a
is not a good option - especially if the node is itself a container. Please read this, and in particular the last section as it explains about uname
kubectl describe node “node-name” eg
kubectl describe node controlplane