Skip to content

Commit 8ce62e4

Browse files
committed
clarify server/workstation
1 parent 9e10ccd commit 8ce62e4

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

docs/tutorials/setup_k8s.rst

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ For k3s documentation see https://k3s.io/.
2525
Installation Steps
2626
------------------
2727

28+
These instructions work with a single machine or with a server running k3s
29+
and a workstation running the kubectl client CLI. If you only have a single
30+
machine then server==workstation for all instructions.
31+
32+
2833
Install K3S lightweight Kubernetes
2934
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3035

@@ -36,9 +41,7 @@ Execute this command on your server to set up the cluster master
3641
Install kubectl
3742
~~~~~~~~~~~~~~~
3843

39-
Kubectl is the command line tool for interacting with your cluster. If you
40-
have a separate workstation then you can install it there. If you only have one
41-
machine then server==workstation.
44+
Kubectl is the command line tool for interacting with your cluster.
4245

4346
On the workstation install the binary::
4447

@@ -52,8 +55,12 @@ From the server machine copy over the k3s kubectl configuration::
5255

5356
sudo scp /etc/rancher/k3s/k3s.yaml <YOUR_ACCOUNT>@<YOUR_WORKSTATION>:.kube/config
5457

58+
(Note the above command does work for a single machine too and ensures that
59+
the permissions are correct on the target file.)
60+
5561
If you do have separate workstation then edit the file .kube/config replacing
56-
127.0.0.1 with your server's IP Address.
62+
127.0.0.1 with your server's IP Address. For a single machine the file is left
63+
as is.
5764

5865

5966
Create an epics IOCs namespace and context

0 commit comments

Comments
 (0)