k8s cluster documentation and supporting files
Find a file
2025-05-08 00:57:30 +00:00
.forgejo/workflows Update data.forgejo.org/renovate/renovate Docker tag to v40 (#490) 2025-05-05 04:55:00 +00:00
.husky chore: add more linting 2024-11-11 15:16:19 +01:00
bin chore: more linting 2024-11-11 15:16:19 +01:00
flux digest update 2025-05-08 00:57:30 +00:00
k3s-host chore: shfmt k3s-host/setup.sh (#410) 2025-04-14 09:07:05 +00:00
.editorconfig chore: add more linting 2024-11-11 15:16:19 +01:00
.gitignore chore: add more linting 2024-11-11 15:16:19 +01:00
.lintstagedrc.json chore: add more linting 2024-11-11 15:16:19 +01:00
.markdownlint-cli2.cjs chore: add more linting 2024-11-11 15:16:19 +01:00
.npmrc chore: add more linting 2024-11-11 15:16:19 +01:00
.prettierignore feat: configuable git-mirror ingress (#389) 2025-03-28 09:21:26 +00:00
.prettierrc.json chore: more linting 2024-11-11 15:16:19 +01:00
k8s-forgefriends.md feat: add forgefriends namespace and a.forgefriends.org 2025-01-13 14:58:19 +01:00
k8s-forgejo.md feat(code): enable git commit signing 2025-01-17 11:14:29 +01:00
k8s-maintenance.md chore(docs): s/code.forgejo.org/invisible.forgejo.org/ (#463) 2025-04-29 14:04:02 +00:00
k8s.md chore(docs): Anubis keys must exist in each namespace 2025-04-30 11:05:05 +02:00
LICENSE Initial commit 2024-10-23 05:37:31 +00:00
package.json Update dependency lint-staged to v15.5.2 2025-05-07 00:01:18 +00:00
pnpm-lock.yaml Update dependency lint-staged to v15.5.2 2025-05-07 00:01:18 +00:00
README.md chore: the mirror is at codeberg.org now (#449) 2025-04-26 21:25:24 +00:00
renovate.json Migrate renovate config (#491) 2025-05-05 04:57:02 +00:00

There is a dedicated chatroom. A mirror of this repository is available at https://codeberg.org/forgejo/k8s-cluster.

Table of content

Monitoring

Cluster monitoring will send warnings to a private Matrix chatroom dedicated to this purpose. The error messages may contain sensitive information. They should not but they are error messages after all and that possibility cannot be dismissed.

The forgejo-matrix-devops account on matrix.org is associated with the matrix-devops at forgejo.org email which is an alias to contact. The password, session keys etc. are not stored anywhere. If there ever is a need for manual interaction with this account, the password will have to be reset.

The monitors related to a deployment (v*.next for instance) should be removed before removing the instance to avoid false negative.

hetzner{05,06}

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

Nodes of a k8s cluster.

Development

Install following tools locally:

  • node
  • pnpm or enable corepack
  • helm
  • flux
  • yq

Run pnpm install after code checkout to prepare development. This installs git hooks to fix simple lint issues.

You can run pnpm lint to run all lint checks.

Hacking

Evaluate a Forgejo helm release to verify the output is as expected before submitting a pull request, for instance after changing flux/apps/forgejo-code/forgejo-code.yaml.

  • helm template -f <(yq .spec.values forgejo-code.yaml) oci://code.forgejo.org/forgejo-helm/forgejo

Note that although flux build kustomization forgejo-code --path ./flux/clusters --kustomization-file ./flux/clusters/forgejo-code.yaml --dry-run will work, it will not call helm template and is not useful in that context.