fix: Adds postinstall connection information.
This commit is contained in:
parent
bfcbc9f79a
commit
f84a6f3754
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ Currently, I cannot recommend that you use this setup in production yet. I have
|
|||
6. Create VM(s) that use VirtIO hard drives (i.e drives with `/dev/vda`), and the ISO set to the NixOS installer.
|
||||
7. Boot the installer, and set the password of the `nixos` user to something so you can SSH in to start the installer.
|
||||
8. With the environment variable `NIX_INSTALL_PATH` set to the nix file you want to use for installation (i.e `kitteh-node-1/agent.nix`), run `./install.sh IP_ADDRESS_FOR_VM_HERE`. This will take about 20 minutes on my setup. You are highly encouraged to run multiple installations in parallel.
|
||||
9. When the installation is done (it will autoreboot), you can now connect using your SSH key to any of the nodes with the user `clusteradm`. The default password is `1234`. Be sure to change this!
|
||||
### Kubernetes setup
|
||||
1. SSH into any of the nodes. (i.e `ssh clusteradm@kitteh-node-2-k3s-server`)
|
||||
2. As root, grab `/etc/rancher/k3s/k3s.yaml`, and copy it to wherever you store your k3s configurations (on macOS, this is `~/.kube/config`)
|
||||
|
|
Reference in a new issue