Change longhorn default path

This commit is contained in:
2024-08-06 01:23:38 +01:00
parent 006179d1d8
commit aaa8cd17fb
3 changed files with 15 additions and 3 deletions

View File

@@ -23,8 +23,15 @@ Host 192.168.1.101
IdentityFile ~/.ssh/kairos
```
## Kubectl
SSH into the server, and grab the kubeconfig with `sudo cat /etc/rancher/k3s/k3s.yaml`.
Drop the user and cluster into your config and create a context to have that user and cluster
## Flux CD
Install flux and everything in this repo with the following:
- `flux bootstrap git --private-key-file=/config/.ssh/gitea --url ssh://git@gitea.home.joemonk.co.uk:2222/joe/gitops.git --branch main --path=clusters/kairos`
## DNS
@@ -37,3 +44,7 @@ We need to point a dns server to the server so we can access things via hostname
- In overrides, add the host as `*`, domain as `k3s` and value as the ip address of the server
You should be able to access `http://traefik.k3s:9000/dashboard#/` (at the time of writing, looking to route this properly)
## Grafana
Grab the admin user password from the `monitoring-grafana` secret