6
3
Fork
You've already forked k8s-cluster
0
Read-only mirror pushed from https://invisible.forgejo.org/infrastructure/k8s-cluster/ - for disaster recovery
Shell 80.4%
JavaScript 8.8%
Smarty 6.5%
PHP 4.3%
Renovate Bot dcebc9dcda
Update valkey ( #1018 )
Reviewed-on: https://invisible.forgejo.org/infrastructure/k8s-cluster/pulls/1018
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2026年01月12日 12:38:02 +00:00
.forgejo/workflows Update data.forgejo.org/renovate/renovate Docker tag to v42.78.1 ( #1014 ) 2026年01月12日 00:02:04 +00:00
.husky chore: add more linting 2024年11月11日 15:16:19 +01:00
bin test: allow updating snapshots 2025年09月17日 14:01:05 +02:00
docs feat(next-instances): autogenerate password 2025年11月11日 11:55:54 +01:00
flux Update valkey ( #1018 ) 2026年01月12日 12:38:02 +00:00
k3s-host fix(k3s-host): quote variable 2026年01月07日 12:20:09 +01: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
.node-version Update Node.js to v24.12.0 ( #973 ) 2025年12月11日 03:01:49 +00:00
.npmrc chore: add more linting 2024年11月11日 15:16:19 +01:00
.prettierignore feat(static-site): support nginx config 2025年11月19日 09:11:24 +01:00
.prettierrc.json chore: more linting 2024年11月11日 15:16:19 +01:00
.sops.yaml feat(flux): enable sops age ( #877 ) 2025年11月07日 13:42:07 +00:00
.sourceignore ci: add chart test ( #741 ) 2025年09月04日 09:01:36 +00:00
LICENSE Initial commit 2024年10月23日 05:37:31 +00:00
package.json Update pnpm to v10.27.0 ( #999 ) 2026年01月03日 00:01:54 +00:00
pnpm-lock.yaml Lock file maintenance ( #1019 ) 2026年01月12日 02:02:07 +00:00
README.md docs: instructions to update the snapshots ( #1002 ) 2026年01月06日 09:20:18 +00:00
renovate.json chore(renovate): update k3s version in variables 2026年01月07日 12:10:35 +01:00

There is a dedicated chatroom. A mirror of this repository is available at https://codeberg.org/forgejo/k8s-cluster, pushed on every commit using a token from forgejo-k8s-cluster-mirror which is a service account listed as a collaborator.

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.

Updating the test snapshots

helm plugin install --verify=false https://github.com/helm-unittest/helm-unittest.git
pnpm test:charts -u