In part 6 we got our blog building in our CI/CD pipeline. Now we’re going to run that built image in our Raspberry Pi K8S cluster. One of the pieces of infrastructure you get in the cloud is a load balancer. How do we replicate that on bare metal? There’s a really awesome project called MetalLB that allows us to do this on hardware. MicroK8S provides an add-on for this. On one of the nodes, run:
In part 7 we walked through how to get our blog running in Kubernetes. My Kubernetes cluster is sitting on my home internet connection. We need a way of getting from somewhere on the Internet into our Kubernetes cluster. I considered registering dynamic DNS for my home IP address and then port forward through my router. I was worried that might be blocked by my provider, or it might somehow put me on their radar.
In part 8 we walked through how exposing our Kubernetes cluster to the Internet and updating the blog from source code control. Now, in our final step, we’re going to test performance. I have been seeing around 3.5k to 4k requests per second and 200-450mbits/sec of network traffic coming off of this cluster. According to my devtools instance, a request to my blog home page initiates 12 HTTP requests. That would service 291 pageviews a second or 25m pages a day.
Hello World First post in this blog. Will probably be removed.