After part 3 of this blog series we have a fully working Kubernetes cluster. Load-BalancerIt has one major drawback: All exposed ports of running pods/services are only reachable under the specific worker node IP address. In a real cluster a load-balancer would handle all incoming traffic and route it
The following steps have to be done on all Raspberry Pi's in the cluster! Prepare Docker installationEnable the linux kernel control groups (cgroups) for Docker and Kubernetes. These cgroups are responsible for isolation and limiting of resources like CPU and memory. Therefor it's necessary to edit the boot firmware file.
IDEA IntelliJ has a plugin for docker integration which supports docker container creation, configuration and deployment. This article will guide you how to use the docker integration plugin and remote debug a simple java application running in a docker container. What is used: IDEA IntelliJ 15.0.1, Docker 1.