Skip to content

How to get Complete Kubernetes Version from RKE(Rancher)? How to detect RKE Cluster? #4953

Closed Answered by KiranBodipi
KiranBodipi asked this question in Q&A
Discussion options

You must be logged in to vote

As per the logic in employed https://github.com/rancher/kubernetes-provider-detector/blob/master/providers/rke.go, it seems like there will not be any distribution info for the RKE in Server Version Info. We can rely on the following annotations of node ("rke.cattle.io/external-ip","rke.cattle.io/internal-ip") to decide RKE cluster.
Thanks for all the help!

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@KiranBodipi
Comment options

@brandond
Comment options

@KiranBodipi
Comment options

@KiranBodipi
Comment options

Answer selected by KiranBodipi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants