Change longhorn default path
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
---
|
|
||||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
kind: HelmRelease
|
kind: HelmRelease
|
||||||
metadata:
|
metadata:
|
||||||
@@ -13,4 +12,7 @@ spec:
|
|||||||
name: longhorn-repo
|
name: longhorn-repo
|
||||||
version: 1.6.2
|
version: 1.6.2
|
||||||
interval: 1m0s
|
interval: 1m0s
|
||||||
targetNamespace: longhorn
|
targetNamespace: longhorn
|
||||||
|
values:
|
||||||
|
defaultReplicaCount: 2
|
||||||
|
defaultDataPath: /var/lib/longhorn-example/
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
---
|
|
||||||
apiVersion: source.toolkit.fluxcd.io/v1
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
11
readme.md
11
readme.md
@@ -23,8 +23,15 @@ Host 192.168.1.101
|
|||||||
IdentityFile ~/.ssh/kairos
|
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
|
## 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`
|
- `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
|
## 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
|
- 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)
|
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