An unofficial, read-only Hacker News reader. Join the beta →

AI made self-hosting fun again (opens external site)

1109 points by jlelse 1 day ago | janlukas.blog | 509 comments on HN

View full thread · View on Hacker News

Comment thread (4)

  1. Can you elaborate on what you are doing with that RPi k8s cluster? I have looked into it in the past and didn’t have a practical application for me to stay interested
    Replies (1)
    1. Full fat bare metal k8s, encrypted etcd, they host Jenkins for cicd and I use a full cicd workflow for work I do, and various websites, some static sites, some web games, some general apps, a thing that lets me remotely manage data sets and run training for a diffusion audio model a friend and I are fiddling with (kinda like homebrew ai cicd), (training doesn't happen in the pi's) etc, really anything I build that needs hosting.

      The pis have proved more than capable at hosting it all.

      Using traefik as an ingress, and nfs to a separate laptop for persistent volumes, incoming Https requests go through NAT to a reverse proxy that sends them to the ingress controller endpoint. Use a 'noip' type service to keep a domain name resolving to home routers external IP.

      I have a 512GB SSD hanging off each one so I'm not hammering a poor micro SD card.

      Built a simple SSH mcp server (though rarely use it nowadays and models will just ssh direct with pwdless setup available), attach to AI model harness of choice on workstation, and go nuts. I did not run a single cli command manually, AI built the whole thing from scratch, and configured the proxy, nfs , ingress , etc.. all yaml etc kept in repo's, I use GitHub for repositories , rather than local.

      Started as a 'I bet it can't' kind of experiment and rapidly became , well blimey it can.

      It's great for just dropping anything that needs internet facing deployment into.

      One thing that is useful, have a full detailed description of all the infrastructure you have available and how to access it for the ai to refer to.

      Replies (1)
      1. What k8s features do you use that aren't available in something like k3s?
        Replies (1)
        1. High Availability