From 0b8d7c86165abd26dfaab399219e234dc99c74ba Mon Sep 17 00:00:00 2001 From: Tomasz Machalski Date: Fri, 1 Mar 2019 17:17:27 +0100 Subject: [PATCH] Added info about accessing cluster from outside --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 979c1a57b2..be714fee0d 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,12 @@ of that file as `NODE_TOKEN` and then run the agent as follows That's it. +Accessing cluser from outside +----------------------------- + +Copy file `/etc/rancher/k3s/k3s.yaml` your machine located outside the cluster as `~/.kube/config`. Then edit it and replace +"localhost" with the IP or name of the k3s server. Now you can use `kubectl` to manage your k3s cluster. + Auto-deploying manifests ------------------------