The Command Line

Exploring digital citizenry as a creator and a consumer.

Hosting Mastodon in Kubernetes

One reason I was eager to use Kubernetes with my recent self-hosting upgrade was how much faster it will make experimenting with new services. Unlike my older docker-compose based setup there is an ecosystem of pre-packaged resources to add to a cluster with minimal configuration. For any custom configuration not from a package, jsonnet and kubecfg help me abstract over the often repetitive syntax for Kubernetes. The first new service I wanted to try out in my cluster was Mastodon.