Setup or kairos
This commit is contained in:
22
readme.md
22
readme.md
@@ -1,4 +1,4 @@
|
||||
## Laptop
|
||||
# Laptop Flux
|
||||
|
||||
`choco install kind`
|
||||
`choco install flux`
|
||||
@@ -6,3 +6,23 @@
|
||||
`kind create cluster`
|
||||
`flux bootstrap git --private-key-file=C:/Users/Joe/.ssh/gitea --url ssh://git@gitea.home.joemonk.co.uk:2222/joe/gitops.git --branch main --path=clusters/kind`
|
||||
|
||||
# Kairos
|
||||
|
||||
- Grab the latest image from https://github.com/kairos-io/kairos/releases, the image should have the format `kairos-debian-bookworm-standard-amd64-generic-v3.1.1-k3sv1.30.2+k3s1`.
|
||||
The main things we're looking for are the latest debian, standard, amd64, then the versions of kairos (v3.1.1) and k3s (1.30.2).
|
||||
- Burn to usb
|
||||
- Boot from usb, live install and go to the config webui
|
||||
- Add the public keys to the config (from ~/.ssh - `ssh-keygen -t ed25519 -C "joemonk@hotmail.co.uk"`)
|
||||
- Put the kairos_config in, check the shutdown button and let it install
|
||||
- Remove the usb, ssh in with using the specific private key (i.e. from ~/.ssh - `ssh -i ./kairos kairos@192.168.1.101` or add the following to ~/.ssh/config to just use `ssh 192.168.1.101`)
|
||||
|
||||
```
|
||||
Host 192.168.1.101
|
||||
HostName 192.168.1.101
|
||||
User kairos
|
||||
IdentityFile ~/.ssh/kairos
|
||||
```
|
||||
|
||||
## Flux CD
|
||||
|
||||
- `flux bootstrap git --private-key-file=/config/.ssh/kairos --url ssh://git@gitea.home.joemonk.co.uk:2222/joe/gitops.git --branch main --path=clusters/kairos`
|
||||
|
||||
Reference in New Issue
Block a user