Add hardware to readme

This commit is contained in:
Grant 2025-02-09 18:31:43 -07:00
parent cde144806d
commit 19c981b20e

View File

@ -7,11 +7,23 @@ Like the cloud but local.
- bitwarded secrets CLI (https://bitwarden.com/help/secrets-manager-cli/ )
## Talos Cluster
### Machine check list
### Hardware
- HP ProDesk 400 G3 (x3)
- Seagate Iron Wolf 2Tb (x2)
- Western Digital Red Pro 2Tb
- Sabrent HDD Docking Station (3x)
- Switch
- Ecoflow River 3 Plus
- Ecoflow River 3
- Router
- Modem
#### HP ProDesk check list
Using refurbished hardware is an adventure in configuration, make sure some things are standard before starting.
- Secure boot is off
- BIOS password disabled
- Enable restore after power outage
### Generate config
```sh
bws secret get <talos-secret-id> -o json | jq .value --raw-output > talos/secrets.yaml
@ -127,7 +139,6 @@ kubeclt apply -k matrix-registration
```
## Ghost Blogs
### kngot
I got tired of fighting the docker container so I manually overrode the `config.production.json`
which looks like
```
@ -171,7 +182,7 @@ which looks like
}
}
```
### kngot
#### Create db and user
```sh
CREATE DATABASE kgnot_ghost;
@ -182,11 +193,12 @@ grant all privileges on kgnot_ghost.* to kgnot_ghost@'10.%.%.%' identified by '$
kubectl create secret generic ghost-kgnot-user-secret --from-literal=ghost-password=$KGNOT_GHOST_USER_PASSWORD
kubectl create secret generic ghost-kgnot-db-secret --from-literal=mysql-password=$KGNOT_MYSQL_PASSWORD
kubectl create secret generic kgnot-smtp-password --from-literal=smtp-password=$KNGOT_SMTP_PASSWORD
helm install --create-namespace \
helm upgrade --create-namespace \
--namespace ghost \
kgnot-ghost oci://registry-1.docker.io/bitnamicharts/ghost \
--set ghostUsername=$KGNOT_GHOST_USER_NAME \
--values kgnot/values.yaml
--values kgnot/values.yaml \
--install
```
### 53ll
@ -200,10 +212,10 @@ grant all privileges on 53ll_ghost.* to 53ll_ghost@'10.%.%.%' identified by '$GH
kubectl create secret generic ghost-53ll-user-secret --from-literal=ghost-password=$GHOST_53LL_USER_PASSWORD
kubectl create secret generic ghost-53ll-db-secret --from-literal=mysql-password=$GHOST_53LL_MYSQL_PASSWORD
kubectl create secret generic 53ll-smtp-password --from-literal=smtp-password=$GHOST_53LL_SMTP_PASSWORD
helm install --create-namespace \
helm upgrade --create-namespace \
--namespace ghost \
53ll-ghost oci://registry-1.docker.io/bitnamicharts/ghost \
--set ghostUsername=$GHOST_53LL_USER_NAME \
--values 53ll/values.yaml
--values 53ll/values.yaml \
--install
```