File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -59,12 +59,16 @@ On the workstation install the binary::
59
59
60
60
The last step adds command line completion and is worth adding to your profile.
61
61
62
- From the server machine copy over the k3s kubectl configuration::
62
+ If you have one machine only then copy the k3s kubectl configuration::
63
63
64
- sudo scp /etc/rancher/k3s/k3s.yaml <YOUR_ACCOUNT>@<YOUR_WORKSTATION>:.kube/config
64
+ mkdir ~/.kube
65
+ sudo cp /etc/rancher/k3s/k3s.yaml ~/.kube/config
66
+ sudo chown <YOUR USER> ~/.kube/config
67
+
68
+ If you have a separate server then from the server machine copy over the k3s kubectl configuration::
65
69
66
- (Note the above command does work for a single machine too and ensures that
67
- the permissions are correct on the target file.)
70
+ mkdir ~/.kube
71
+ sudo scp /etc/rancher/k3s/k3s.yaml <YOUR_ACCOUNT>@<YOUR_WORKSTATION>:.kube/config
68
72
69
73
If you do have separate workstation then edit the file .kube/config replacing
70
74
127.0.0.1 with your server's IP Address. For a single machine the file is left
You can’t perform that action at this time.
0 commit comments