No description
  • Shell 38%
  • HCL 26.7%
  • Python 20.1%
  • Go Template 14.9%
  • Makefile 0.3%
Find a file
2026-08-08 13:18:59 +02:00
docker feat: add rustical 2026-08-08 13:18:59 +02:00
k8s feat: add rustical 2026-08-08 13:18:59 +02:00
scripts feat: migrate immich to k8s 2026-08-03 21:06:07 +02:00
tofu feat: migrate argocd from k8s manifests to argo-helm 2026-08-06 09:54:40 +02:00
.gitignore feat: migrate argocd from k8s manifests to argo-helm 2026-08-06 09:54:40 +02:00
.pre-commit-config.yaml feat: add scripts/update-argo.sh 2026-04-22 13:27:44 +02:00
.tflint.hcl chore: add kubeconform, kube-score and tflint 2024-03-25 10:56:52 +01:00
.yamllint.yaml feat: add valheim chart and argo app 2025-04-01 19:24:08 +02:00
Makefile ci: add kaniko action that builds nextcloud 2024-09-29 15:00:59 +02:00
README.md feat: add some more dns hosts 2026-08-03 18:27:45 +02:00
renovate.json feat: update renovate to recognize Chart.yaml's appVersion 2026-08-03 21:10:10 +02:00

fukuops

useful commands

  • on ramiel:
ethtool -K eno1 tx off rx off

scripts

hbd.sh - Helm Build and Deploy

Package and push Helm charts to an OCI registry.

scripts/hbd.sh <chart-name> [version] [--oci-registry <registry>]

Arguments:

  • chart-name - Name of the chart in k8s/charts/
  • version (optional) - Version to deploy. If omitted, bumps patch version (e.g., 0.1.0 → 0.1.1)
  • --oci-registry <registry> (optional) - Override default OCI registry

Default registry: oci://git.roboces.dev/catalin/fukuops

Examples:

# Deploy next patch version (0.1.0 → 0.1.1)
scripts/hbd.sh vaultwarden

# Deploy specific version
scripts/hbd.sh vaultwarden 0.2.0

# Deploy to custom registry
scripts/hbd.sh vaultwarden 0.1.1 --oci-registry oci://my-registry.com/charts

k3scale.sh - Kubernetes Scaling

Scale deployments and statefulsets in a k3s cluster.

scripts/k3scale.sh REPLICAS [RESOURCE...] [OPTIONS]

Arguments:

  • REPLICAS - Number of replicas to scale to
  • RESOURCE - Resource to scale in namespace/name format (can specify multiple)

Options:

  • --all - Scale all deployments/statefulsets in current namespace
  • --all-namespaces - Scale across all namespaces
  • -n, --namespace NAMESPACE - Target namespace
  • --dry-run - Show actions without executing
  • -v|-vv|-vvv - Verbosity levels

Examples:

scripts/k3scale.sh 1 mynamespace/mydeployment
scripts/k3scale.sh 0 --all --namespace production
scripts/k3scale.sh 3 --all --dry-run

proxmox-power.sh - Proxmox VM Management

Start or shutdown QEMU VMs and LXC containers on a Proxmox cluster.

scripts/proxmox-power.sh --op start|shutdown [--all | --ids <vmid> ...]] [OPTIONS]

Options:

  • --op OP - Operation: start or shutdown (required)
  • --all - Operate on all VMs/containers (honors filters)
  • --ids LIST - Space-separated list of VMIDs
  • --only-qemu - Only QEMU VMs
  • --only-lxc - Only LXC containers
  • --force - Force shutdown if timeout exceeded
  • --timeout SEC - Shutdown wait timeout (default: 120)
  • --concurrency N - Parallel operations (default: 4)
  • --node NODE - Restrict to specific node
  • --dry-run - Show actions without executing
  • --insecure - Skip SSL verification

Authentication (env vars):

  • API Token: PVE_TOKEN_ID + PVE_TOKEN_SECRET
  • Password: PVE_USER + PVE_PASSWORD (or via GNOME keyring)

Examples:

scripts/proxmox-power.sh --op shutdown --all
scripts/proxmox-power.sh --op start --ids 100 101 --node mynode
PVE_TOKEN_ID=user@pam!ci scripts/proxmox-power.sh --op start --all

update-argo.sh - ArgoCD Upgrades

Upgrade ArgoCD to a new version.

scripts/update-argo.sh [VERSION] [OPTIONS]

Arguments:

  • VERSION (optional) - Target version. If omitted, auto-detects latest

Options:

  • --dry-run - Show what would be done
  • -v|-vv|-vvv - Verbosity levels

Examples:

scripts/update-argo.sh                  # Upgrade to latest
scripts/update-argo.sh v2.9.0          # Upgrade to specific version
scripts/update-argo.sh --dry-run -vv   # Preview with verbose output