This repo contains example code for the related blog post. For future updates follow the developer on Twitter.
This example demonstrates the simplest possible log aggregation for Kubernetes using a microservice (Loggy) and a DaemonSet so that the microservice is deployed to every node on the cluster.
Directory structure | |
---|---|
Vagrantfile | Boot a Vagrant virtual machine for development with Docker preinstalled, this makes it easier to build and push Loggy's image to your container registry. |
loggy/ | Code and Dockerfile for the Loggy microservice. |
scripts/ | |
dev/ | Scripts for installing the dev VM. |
docker/ | Scripts for building and pushing Docker images. |
kubernetes/ | YAML files for deployment to Kubernetes. |