News for hackers. Stuff that matters.
Re:Browsing like it's 1994: Integrating a Mac SE, ImageWrite... by cptaffe on Sunday September 17, 2023 @04:22PM (#37548945)
I run it out of my closet. The blog is a small Go program deployed to a k8s cluster across a few ESXi VMs on an HP DL380 G7, behind a pfSense router also running as a VM and using HAProxy for TLS offloading.

With no cache on my local network, Chrome reports the page loads fully in ~500ms, using the "slow 3G connection" performance tab preset it takes ~4s.

If you're nowhere near Little Rock, Arkansas; that might be the issue. I don't yet use a CDN and it always loads the same resolution image ("high" quality JPEG, ~200kb apiece).

Re:Browsing like it's 1994: Integrating a Mac SE, ImageWrite... by rodgerd on Sunday September 17, 2023 @05:59PM (#37549737)
I mean I'm in New Zealand and it's fine for me.
Re:Browsing like it's 1994: Integrating a Mac SE, ImageWrite... by bombcar on Monday September 18, 2023 @08:36AM (#37555306)
The use of VMs and liver eyes (no iPhone, kubernetes) to run a simple html server abound ancient hardware is kind of amusing.
Re:Browsing like it's 1994: Integrating a Mac SE, ImageWrite... by cptaffe on Monday September 18, 2023 @02:19PM (#37559912)
It's over-engineered, but I wanted to try running k8s in my homelab to continue learning about networking; deploying a blog seemed like a perfect test case. The cluster uses Traefik, https://github.com/travisghansen/kubernetes-pfsense-controll... to sync service definitions to HAProxy, and MetalLB. The k8s service IPs are routable from my local network, as well as the MetalLB IPs, and MetalLB handles syncing them to pfSense using BGP. pfSense sends DNS for any *.k8s.home.arpa to k8s, so I can resolve e.g. blog.default.svc.k8s.home.arpa on my local network.

One interesting hiccup: I had to introduce a NAT at pfSense because MacBooks don't listen to ICMP redirects, the packet would go laptop -> router -> k8s and then k8s -> laptop. Since the MacBook ignored the ICMP redirect, it drops the reply packet.