2022-02-16 15:26:46 +00:00
|
|
|
# K3s cluster
|
|
|
|
|
2022-06-06 22:31:49 +00:00
|
|
|
| Name | Usage | Accessibility | Host | DB type | Automated backups | Configured |
|
|
|
|
| -- | -- | -- | -- | -- | -- | -- |
|
2022-06-07 22:06:05 +00:00
|
|
|
| therbron.com | Personal website | Public | Socrates | - | Nothing to backup | No |
|
2022-06-20 23:30:00 +00:00
|
|
|
| Traefik | Reverse proxy and load balancer | Public* | Socrates | - | Git configuration | Yes |
|
2022-06-07 22:06:05 +00:00
|
|
|
| Adguard | DNS ad blocker and custom DNS server | Private | Socrates | - | <center> ? </center> | Yes |
|
2022-06-06 22:31:49 +00:00
|
|
|
| Owncloud Infinity Scale | File hosting webUI | Public | Plato | PostgreSQL | <center> ? </center> | No |
|
|
|
|
| Home assistant | Home automation and monitoring | Private | Pythagoras-a | PostgreSQL | <center> ? </center> | No |
|
2022-06-07 22:06:05 +00:00
|
|
|
| Vikunja | To-do and Kanban boards | Public | Pythagoras-b | - | <center> ? </center> | No (To be integrated in Gitlab) |
|
2022-06-06 22:31:49 +00:00
|
|
|
| Gitlab | Version control system | Public | Pythagoras-b | PostgreSQL | <center> ? </center> | No |
|
2022-06-07 22:06:05 +00:00
|
|
|
| Wiki | Documentation manager | Public | Pythagoras-b | - | <center> ? </center> | No (Migrate to VuePress and Gitlab) |
|
2022-06-06 22:31:49 +00:00
|
|
|
| Vaultwarden | Password manager | Public | Pythagoras-b | PostgreSQL | <center> ? </center> | No |
|
2022-06-20 23:30:00 +00:00
|
|
|
| Synapse | Matrix server - Message centralizer | Public | Pythagoras-b | PostgreSQL | <center> ? </center> | No |
|
|
|
|
| PaperlessNG | PDF viewer and organiser | Public | Pythagoras-b | PostgreSQL | <center> ? </center> | No |
|
|
|
|
| Raspsnir | Bachelor memorial website | Public | Pythagoras-b | PostgreSQL | <center> ? </center> | No |
|
2022-06-07 22:06:05 +00:00
|
|
|
| Jellyfin | Media streaming | Public | Archimedes | - | <center> ? </center> | No |
|
2022-06-06 22:31:49 +00:00
|
|
|
| Sonarr | TV shows collection manager | Private | Plato | SQLite** | <center> ? </center> | No |
|
|
|
|
| Radarr | Movie collection manager | Private | Plato | SQLite** | <center> ? </center> | No |
|
2022-06-07 22:06:05 +00:00
|
|
|
| Jackett | Torrent indexer | Private | Plato | - | <center> ? </center> | No |
|
|
|
|
| Deluge | Torrent client | Private | Plato | - | <center> ? </center> | No |
|
|
|
|
| Minecraft | Vanilla minecraft server for friends | Public | Archimedes | - | Longhorn snapshots | Yes |
|
2022-06-20 23:30:00 +00:00
|
|
|
| Satisfactory | Satisfactory server for friends | Public | Archimedes | - | Longhorn snapshots | No |
|
|
|
|
| Space engineers | Space engineers server for friends | Public | Archimedes | - | Longhorn snapshots | No |
|
2022-06-06 22:31:49 +00:00
|
|
|
|
2022-06-07 22:07:40 +00:00
|
|
|
\* Configuration panel only available internally<br>
|
2022-06-06 22:31:49 +00:00
|
|
|
** Current implementation only support SQLite, making manual backups a necessity
|
2022-06-06 16:59:28 +00:00
|
|
|
|
2022-06-20 15:34:37 +00:00
|
|
|
## Completed
|
|
|
|
- Add TLS certificates for every http applications
|
|
|
|
|
2022-06-06 16:59:28 +00:00
|
|
|
## TODO
|
|
|
|
- Change host/deployment specific variables to use environment variables
|
|
|
|
- Write CI/CD pipeline to create environment loaded files
|
|
|
|
- Write CI/CD pipeline to deploy cluster
|
2022-06-20 23:30:00 +00:00
|
|
|
- Setup internal traefik with nodeport as reverse proxy for internal only services
|
|
|
|
- Setup DB container sidecars for automated backups to Longhorn volume
|
|
|
|
- ~~Look into CockroachDB for redundant database~~ Judged too complicated, moving to a 1 to 1 relationship between services and databases
|
2022-06-20 15:34:37 +00:00
|
|
|
- ~~Configure IP range accessibility through Traefik (Internal vs external services)~~ Impossible because of flannel ip-masq
|
2022-03-30 17:11:15 +00:00
|
|
|
|
|
|
|
## Notes
|
|
|
|
Add node to the list of available load balancer
|
|
|
|
`kubectl label node <node-name> svccontroller.k3s.cattle.io/enablelb=true`
|
2022-06-06 16:59:28 +00:00
|
|
|
|
|
|
|
Install traefik through helm
|
|
|
|
```
|
|
|
|
helm repo add traefik https://helm.traefik.io/traefik
|
|
|
|
helm repo update
|
|
|
|
helm install -f helm/traefik/values.yaml traefik traefik/traefik
|
|
|
|
```
|
|
|
|
|
|
|
|
Install longhorn
|
|
|
|
```
|
|
|
|
kubectl apply -f https://raw.githubusercontent.com/longhorn/longhorn/master/deploy/longhorn.yaml
|
|
|
|
```
|
2022-06-20 23:30:00 +00:00
|
|
|
|