For RKE v0.1.x and Rancher v2.0.x/v2.1.x, see https://gist.github.com/superseb/3d8de6092ebc4b1581185197583f472a
This needs to be run on a node with the controlplane role, as it rewrites the server endpoint to https://127.0.0.1:6443
, you can of course manually change this if necessary.
Applicable for:
- RKE v0.2.x
- Rancher v2.2.x