1
0
Fork 0
mirror of https://code.forgejo.org/infrastructure/documentation synced 2025-02-11 11:01:56 +00:00
No description
Find a file
2025-01-25 23:59:36 +00:00
.gitignore k8s forgejo instance helpers 2024-10-22 12:59:28 +02:00
LICENSE Initial commit 2024-09-14 11:43:39 +00:00
lxc.md Forgejo runner require libvirt capabilities for LXC 2024-11-28 09:22:56 +00:00
README.md chore(cleanup): archives moved away 2025-01-25 23:47:07 +01:00
runner-lxc.md runners configurations are in https://invisible.forgejo.org/runners 2025-01-25 13:55:44 +01:00

The resources used by the infrastructure are in the https://code.forgejo.org/infrastructure/ organization. There is a dedicated chatroom. A mirror of this repository is available at https://git.pub.solar/forgejo/infrastructure-documentation.

Table of content

forgejo01 @ octopuce

Hosting Forgejo runners.

KVM virtual machine 16 threads, 64GB RAM, 1TB DRBD volume backed by SSD, 1 public IPv4 + IPv6.

ssh debian@forgejo01.octopuce.fr

Warning

at random times LXC containers are not routed. systemctl restart lxc-net fixes it.

aburayama @ codeberg

Dedicated to hosting Forgejo runners.

See the codeberg documentation for SSH access.

Host *.lxc.aburayama.local
  User earl
  ProxyJump aburayama.m.codeberg.org

Host *.m.codeberg.org
  User jump
  Port 19198
  ForwardAgent yes

Hetzner

Help cover the costs

It is possible to help cover the costs of the hardware running at Hetzner by adding credit with a bank transfert. The client identifier (Customer ID: K06620...) must be added as a reason for the transfert so that Hetzner knows which account must be credited with the funds.

Please reach out to the devops team to get the information.

Estimated carbon footprint

Power consumption declared by Hetzner December 2024:

  • ex44 - idle 25W - max 118W
  • ex101 - idle 32W - max 116W

The CO₂ emissions factor in the German electricity mix was 380 grams per kilowatt hour, based on initial estimates for 2023.

  • ex101 - idle 75% - max 25%
    • 32W * 24h * 365d * 0.75 = 210kWh
    • 116W * 24h * 365d * 0.25 = 254kWh
    • Total = 464kWh => 139Kg CO2
  • ex44 - idle 90% - max 10%
    • 25W * 24h * 365d * 0.90 = 197kWh
    • 118W * 24h * 365 * 0.10 = 103kWh
    • Total = 300kWh => 114Kg CO2

Grand total for 1 ex100 + 3 ex44 => 1 * 139Kg + 3 * 114Kg => 481Kg rounded to 500Kg CO2 per year.

hetzner01

EX101 Hetzner hardware dedicated to LXC containers with Forgejo runners.

hetzner{03,05,06}

https://hetzner03.forgejo.org, https://hetzner05.forgejo.org & https://hetzner06.forgejo.org run on EX44 Hetzner hardware.

They are dedicated to the long running K8S cluster files and documentation.

Uberspace

The website https://forgejo.org is hosted at https://uberspace.de/. The https://codeberg.org/forgejo/website/ CI has credentials to push HTML pages there.