Exploring Kubernetes Service Discovery and loadbalancing
25 January 2018
Kubernetes has some great helpers that allow us to drop a service in and satisfy most requirements for service discovery and loadbalancing. Service discovery out of the box will make a dns request through Kube-DNS. Kube-DNS is (soon to be coredns) a pod running dnsmasq with a custom integration to watch events straight off the Kubernetes api. Loadbalancing is provided out of the box by Kube-proxy. Which provides TCP stream balancing inside the cluster.
Stopping unwanted git commits on a shared repository
1 April 2013
I’ve occasionally run into people who modify and commit to a checked out build repoistory instead of making the changes on their workstation and pushing them in. I noticed that Galen Grover had a fairly neat solution to prevent himself committing to master (one I will probably copy for another workflow.)
Wasting time on reddit
1 April 2013
So bored and on reddit reading about myki I guess it’s time to do some hypothetical over-engineering. First the challenge: that a reasonably well designed system could not handle frequent updates from the number of buses and trams in Melbourne (trains are a different question because updating the stations is easier and harder.) Goals: Reduce the time it takes to update the card balance. And some assumptions (some of which are there to make the maths easier for me some to over engineer and some because I just felt they were reasonable.