diff options
| author | clyhtsuriva <aimeric@adjutor.xyz> | 2026-06-03 19:27:17 +0200 |
|---|---|---|
| committer | clyhtsuriva <aimeric@adjutor.xyz> | 2026-06-03 19:27:17 +0200 |
| commit | d61b7bb32b0e265b836e87d1dad7c9cbe8b296d1 (patch) | |
| tree | 99f40ef2d4acac837b7725d4e6fed9a7ab74a735 /k8s/admin-prerequisite-tools.md | |
| parent | 73da2fbf849d2582b6c2e1e9ae413e01682301b7 (diff) | |
| download | homelab-wiki-master.tar.gz homelab-wiki-master.tar.bz2 homelab-wiki-master.zip | |
Diffstat (limited to 'k8s/admin-prerequisite-tools.md')
| -rw-r--r-- | k8s/admin-prerequisite-tools.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/k8s/admin-prerequisite-tools.md b/k8s/admin-prerequisite-tools.md new file mode 100644 index 0000000..9f224f4 --- /dev/null +++ b/k8s/admin-prerequisite-tools.md @@ -0,0 +1,25 @@ +# Admin prerequisite tools to administer the k3s cluster + +# tools + +- `kubectl` +- `argocd` CLI +- network access to the k3s master on port 6443 + - `nc -zv 192.168.1.140 6443` + +# commands to pass + +```sh +# On your PC, copy kubeconfig from k3s master +scp username@<k3s-master-ip>:/etc/rancher/k3s/k3s.yaml ~/.kube/config + +# if sudo is needed : +ssh username@<k3s-master-ip> 'sudo cat /etc/rancher/k3s/k3s.yaml' > ~/.kube/config + +# Edit the file to change the server IP to your master's IP +# Change "server: https://127.0.0.1:6443" to "server: https://<k3s-master-ip>:6443" +vim ~/.kube/config + +# Test it works +kubectl get nodes +``` |
