mirror of
https://code.forgejo.org/infrastructure/documentation
synced 2024-11-21 19:11:11 +00:00
hetzner{01,04} are removed from the pool of machines
This commit is contained in:
parent
31044c9588
commit
e0b2aa4488
91
README.md
91
README.md
|
@ -9,112 +9,37 @@ There is a [dedicated chatroom](https://matrix.to/#/#forgejo-ci:matrix.org). A m
|
||||||
- Installing a [Forgejo runner in an LXC container](runner-lxc.md)
|
- Installing a [Forgejo runner in an LXC container](runner-lxc.md)
|
||||||
- Managing the [Octopuce host](octopuce.md)
|
- Managing the [Octopuce host](octopuce.md)
|
||||||
|
|
||||||
## hetzner{01,04}
|
## hetzner{05,06}
|
||||||
|
|
||||||
https://hetzner{01,04}.forgejo.org run on [EX101](https://www.hetzner.com/dedicated-rootserver/ex101) Hetzner hardware.
|
https://hetzner05.forgejo.org & https://hetzner06.forgejo.org run on [EX44](https://www.hetzner.com/dedicated-rootserver/ex44) Hetzner hardware.
|
||||||
|
|
||||||
### LXC
|
They are dedicated to the long running K8S cluster [files and documentation](https://code.forgejo.org/infrastructure/k8s-cluster). It is also where some legacy machines that are no longer actively used are preserved, to be revived when/if they are needed. They are in the `/precious/lxc` directory. The root file system are archived in `/precious/hetzner` in case they contain something worth keeping.
|
||||||
|
|
||||||
```sh
|
- `forgefriends-forum` (hetzner06)
|
||||||
lxc-helpers.sh lxc_install_lxc_inside 10.41.13 fc29
|
|
||||||
```
|
|
||||||
|
|
||||||
### Disk partitioning
|
|
||||||
|
|
||||||
- First disk
|
|
||||||
- OS
|
|
||||||
- a partition mounted on /srv where non precious data goes such as the LXC containers with runners.
|
|
||||||
- Second disk
|
|
||||||
- configured with DRBD for precious data.
|
|
||||||
|
|
||||||
### Root filesystem backups
|
|
||||||
|
|
||||||
- `hetzner01:/etc/cron.daily/backup-hetzner04`
|
|
||||||
`rsync -aHS --delete-excluded --delete --numeric-ids --exclude /proc --exclude /dev --exclude /sys --exclude /precious --exclude /srv --exclude /var/lib/lxc 10.53.100.4:/ /srv/backups/hetzner04/ >& /var/log/$(basename $0).log`
|
|
||||||
- `hetzner04:/etc/cron.daily/backup-hetzner01`
|
|
||||||
`rsync -aHS --delete-excluded --delete --numeric-ids --exclude /proc --exclude /dev --exclude /sys --exclude /precious --exclude /srv --exclude /var/lib/lxc 10.53.100.1:/ /srv/backups/hetzner01/ >& /var/log/$(basename $0).log`
|
|
||||||
|
|
||||||
### LXC containers
|
|
||||||
|
|
||||||
- `runner-lxc-helpers` (hetzner01)
|
|
||||||
|
|
||||||
Dedicated to Forgejo runners for the https://code.forgejo.org/forgejo/lxc-helpers project.
|
|
||||||
|
|
||||||
- K8S enabled
|
|
||||||
- code.forgejo.org/forgejo/lxc-helpers/config\*.yml
|
|
||||||
|
|
||||||
- `forgejo-runners` (hetzner01)
|
|
||||||
|
|
||||||
Dedicated to Forgejo runners for the https://codeberg.org/forgejo organization.
|
|
||||||
|
|
||||||
- Docker enabled
|
|
||||||
- codeberg.org/forgejo/config\*.yml
|
|
||||||
|
|
||||||
- `runner01-lxc` (hetzner01)
|
|
||||||
|
|
||||||
Dedicated to Forgejo runners for https://code.forgejo.org.
|
|
||||||
|
|
||||||
- Docker and LXC enabled 10.194.201 fc35
|
|
||||||
- code.forgejo.org/forgejo/config\*.yml
|
|
||||||
- code.forgejo.org/actions/config\*.yml
|
|
||||||
- code.forgejo.org/forgejo-integration/config\*.yml
|
|
||||||
- code.forgejo.org/forgejo-contrib/config\*.yml
|
|
||||||
- code.forgejo.org/f3/config\*.yml
|
|
||||||
- code.forgejo.org/forgefriends/config\*.yml
|
|
||||||
|
|
||||||
- `forgejo-v9` (hetzner04) same as `forgejo-v8`
|
|
||||||
- `forgejo-v8` (hetzner04)
|
|
||||||
|
|
||||||
Dedicated to https://v8.next.forgejo.org, see https://code.forgejo.org/infrastructure/k8s
|
|
||||||
|
|
||||||
- K8S enabled
|
|
||||||
- K8S wakeup-on-logs script /etc/wakeup-on-logs/forgejo-v8
|
|
||||||
- [Values file](https://code.forgejo.org/infrastructure/k8s/src/branch/main/forgejo-v8/values.yml)
|
|
||||||
- nginx forwarding of SSH streams in `/etc/nginx/modules-enabled/next.forgejo.org.conf`
|
|
||||||
|
|
||||||
```
|
|
||||||
stream {
|
|
||||||
|
|
||||||
# v8 ip's
|
|
||||||
upstream v8 {
|
|
||||||
least_conn;
|
|
||||||
server 10.41.13.27:2222;
|
|
||||||
}
|
|
||||||
|
|
||||||
# v8 definition
|
|
||||||
server {
|
|
||||||
listen 2080; # the port to listen on this server
|
|
||||||
listen [::]:2080;
|
|
||||||
proxy_pass v8; # forward traffic to this upstream group
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
- `forgefriends-forum` (hetzner04)
|
|
||||||
|
|
||||||
Dedicated to https://forum.forgefriends.org
|
Dedicated to https://forum.forgefriends.org
|
||||||
|
|
||||||
- Docker enabled
|
- Docker enabled
|
||||||
|
|
||||||
- `forgefriends-gitlab` (hetzner04)
|
- `forgefriends-gitlab` (hetzner06)
|
||||||
|
|
||||||
Dedicated to https://lab.forgefriends.org
|
Dedicated to https://lab.forgefriends.org
|
||||||
|
|
||||||
- Docker enabled
|
- Docker enabled
|
||||||
|
|
||||||
- `forgefriends-cloud` (hetzner04)
|
- `forgefriends-cloud` (hetzner06)
|
||||||
|
|
||||||
Dedicated to https://cloud.forgefriends.org
|
Dedicated to https://cloud.forgefriends.org
|
||||||
|
|
||||||
- Docker enabled
|
- Docker enabled
|
||||||
|
|
||||||
- `gna-forgejo` (hetzner04)
|
- `gna-forgejo` (hetzner06)
|
||||||
|
|
||||||
Dedicated to https://forgejo.gna.org
|
Dedicated to https://forgejo.gna.org
|
||||||
|
|
||||||
- Docker enabled
|
- Docker enabled
|
||||||
|
|
||||||
- `gna-forum` (hetzner04)
|
- `gna-forum` (hetzner06)
|
||||||
|
|
||||||
Dedicated to https://forum.gna.org
|
Dedicated to https://forum.gna.org
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue