This message was deleted.
# kubernetes
a
This message was deleted.
c
it’ll just tell you whatever the underlying Kubernetes cluster version is. Not the Rancher version.
it’s the same thing you’d get from
kubectl version -o yaml
e
In that case, how can we know the rancher version programmatically ? Any hints here would be very helpful
it’ll just tell you whatever the underlying Kubernetes cluster version is. Not the Rancher version.
I was assuming it would return something like this
Server Version: v1.21.1-rancher
c
depends if you’re using rke, or rke2, or k3s…