Files
infrastructure/kubernetes
..
2025-02-12 22:09:25 -07:00
2025-03-06 20:38:09 -07:00
2025-03-04 08:41:17 -07:00
2025-03-04 08:41:17 -07:00
2025-01-13 21:28:47 -07:00
2025-03-06 19:42:08 -07:00
2025-03-06 20:28:33 -07:00

sources

note: k0s never works as well as you think

https://k3s.io/

nix instructions: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/cluster/k3s/README.md

tailscale operator

helm repo add tailscale https://pkgs.tailscale.com/helmcharts
helm repo update
helm upgrade \
  --install \
  tailscale-operator \
  tailscale/tailscale-operator \
  --namespace=tailscale \
  --create-namespace \
  --set-string oauth.clientId="<OAauth client ID>" \
  --set-string oauth.clientSecret="<OAuth client secret>" \
  --wait

Currently clouflare domains cannot be CNAME'd to tailscale domains:

Kubernetes ingress controller

kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.12.0/deploy/static/provider/baremetal/deploy.yaml
``

I'll need to create a custom service to bring in port 80 and 443 later

helm upgrade --install ingress-nginx ingress-nginx
--repo https://kubernetes.github.io/ingress-nginx
--namespace ingress-nginx
--create-namespace
-f values.yml