k3s/README.org

1 KiB

Notes

  • Taints and tolerations will likely not work without at least 2 nodes.
  • Affinities based on hostnames will fail require matching names
  • Secrets are stored in Infisical so the similar secret structure is required.

Software requirements

  • New enough kubectl to use kubectl ... -k for kustomize
  • just to run deploy/redeploy commands
  • gopass with infisical ID+Secret under homelab/infisical/{id,secret}

Usage

These all leverage the kustomizations and shell scripts in deploy/

just diff
shows all changes based on kustomize
just apply
apply all changes
just deploy
apply all changes including infisical bootstrap secret
just redeploy
as above but recreates the bootstrap secret from keepass
just infisical_bootstrap_secret [--recreate]
Bootstrap secret but no other steps

Per namespace/app can be diff'd or applied via kubectl {diff, apply} -k namespaces/[<namespace>/[<appName>/]]