Change longhorn default path
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
@@ -14,3 +13,6 @@ spec:
|
||||
version: 1.6.2
|
||||
interval: 1m0s
|
||||
targetNamespace: longhorn
|
||||
values:
|
||||
defaultReplicaCount: 2
|
||||
defaultDataPath: /var/lib/longhorn-example/
|
||||
@@ -1,4 +1,3 @@
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
|
||||
11
readme.md
11
readme.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user