Mixed Architecture Kubernetes Cluster

I've been playing around with my Kubernetes cluster running on Raspbery Pi's and had a cool idea for demo's. Since the pi's are a bit underpowered, I added some VM's to my laptop as Nodes in the cluster.

So now I have a mix of ARM servers and x86 servers that I can schedule work. This is a great example of how node selection and labels can work in a Kubernetes cluster since I can target either architecture easily!

Looking at the above image, you can see I've added a "type" label to each node. Nodes 04 && 05 are VM's on my laptop and the others are pi's. In the NodeSelector field of a ReplicationController, I can simply enter which type I request and the pod will schedule accordingly.

Author image

About Steve Sloka