1
0
Fork
You've already forked infra
0
No description
  • Nix 91.4%
  • Just 4%
  • Shell 1.7%
  • Nushell 1.4%
  • Python 1%
  • Other 0.5%
2026年07月07日 15:59:07 +01:00
hosts sana,cibo: add heroic game launcher 2026年06月27日 12:20:42 +01:00
kube woodpecker: bump 3.15→3.16 2026年07月07日 15:46:03 +01:00
nixos nur-apr-app2: upgrade ghost to 6.51 2026年07月07日 15:59:07 +01:00
secrets2 dor-qws-vid1: upgrade to nixos-26.05, connect to wg, and enable prom 2026年06月07日 19:49:18 +03:00
ssh dor-qws-vid1: reverse-forward ssh to nur-aws-vpn5 2026年02月21日 19:50:11 +00:00
ssl fsn-qpr-kube3: delete 2026年04月25日 16:41:31 +01:00
.gitignore nur-apr-app1: bring into the fold 2026年02月15日 17:29:40 +00:00
.ignore dev: ignore /ssl in editor 2026年04月08日 11:42:16 +01:00
.sops.yaml dor-qws-vid1: upgrade to nixos-26.05, connect to wg, and enable prom 2026年06月07日 19:49:18 +03:00
bootstrap-hetzner-cloud-server.nix fsn-qpr-kube5: init 2026年04月22日 18:44:10 +01:00
check-is-up.sh healthchecks: fix snippets and add more logging 2025年11月06日 22:33:50 +00:00
deployment.nix sana: remove graphite 2026年06月12日 18:40:12 +02:00
dns.nix nur-apr-vpn1: init and replace nur-apr-vpn6 2026年04月11日 17:26:13 +01:00
fish_prompt.fish fix: show exit status in prompt 2023年03月20日 13:28:05 +00:00
flake.lock all: bump to latest nixos-25.05 2026年07月07日 15:40:17 +01:00
flake.nix nur-apr-app2: bump tuwunel to 1.8.0 2026年06月30日 21:12:47 +01:00
gen-certs.nix fsn-qpr-kube4: start kubernetes master 2026年04月21日 10:11:12 +01:00
Justfile all: disable sudo by default 2026年06月16日 20:04:58 +01:00
LICENSE feat: relicense under EUPL 2024年07月03日 10:48:52 +01:00
ops dev: stop using a git-submodule 2025年06月07日 19:13:27 +03:00
README.md feat: relicense under EUPL 2024年07月03日 10:48:52 +01:00
rpi.nix dev: changes to build RPi SD card images again 2026年02月17日 14:29:33 +00:00
scvalex-gpg.pub nur-apr-app1: bring into the fold 2026年02月15日 17:29:40 +00:00

infra

This repo houses the configuration for my infrastructure. It's not really meant to be used by anyone else—it's certainly not intended to fit any general use case. It's open-source mostly so that I can show off bits of it.

Kubernetes management

Drain a node

kubectl drain --ignore-daemonsets --delete-emptydir-data hel-qws-app1

Delete a node

# First, remove kubernetes from the host with nixops
# kubectl delete node hel-qws-app1
# kubectl delete nodes.longhorn.io hel-qws-app1 -n longhorn-system

General apply

kubectl apply -k kube/

General regen/update

make -C kube/ update

Labels

Longhorn

kubectl label nodes fsn-qws-app3 node.longhorn.io/create-default-disk=true

zfs-localpv

kubectl label nodes fsn-qws-app2 zfs-localpv=enabled --overwrite
kubectl label nodes fsn-qws-app3 zfs-localpv=enabled --overwrite
kubectl label nodes fsn-qws-app2 openebs.io/nodeid=fsn-qws-app2
kubectl label nodes fsn-qws-app3 openebs.io/nodeid=fsn-qws-app3

License

All code here is licensed under the EUPL-1.2-or-later. See the LICENSE file for details.