File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,11 @@ For k3s documentation see https://k3s.io/.
25
25
Installation Steps
26
26
------------------
27
27
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
+
28
33
Install K3S lightweight Kubernetes
29
34
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30
35
@@ -36,9 +41,7 @@ Execute this command on your server to set up the cluster master
36
41
Install kubectl
37
42
~~~~~~~~~~~~~~~
38
43
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.
42
45
43
46
On the workstation install the binary::
44
47
@@ -52,8 +55,12 @@ From the server machine copy over the k3s kubectl configuration::
52
55
53
56
sudo scp /etc/rancher/k3s/k3s.yaml <YOUR_ACCOUNT>@<YOUR_WORKSTATION>:.kube/config
54
57
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
+
55
61
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.
57
64
58
65
59
66
Create an epics IOCs namespace and context
You can’t perform that action at this time.
0 commit comments