
The software we write and publish.
Part of the tooling we use on projects we wrote ourselves. It is public, under the Apache 2.0 licence: you can read it, use it and judge how we work.
Understudy
Services that stay up on the cheapest machines

Discounted cloud machines can be taken back by the provider at short notice. Understudy starts a replacement copy of the service before the original is shut down, so one copy is enough instead of two always running.
For people who work with Kubernetes: it is an operator with an admission webhook that protects single-replica Deployments and Argo Rollouts through drains, upgrades, consolidation and spot interruptions.
helm install understudy oci://ghcr.io/kylan11/charts/understudy \
--namespace understudy-system --create-namespaceWhat happened
Requests lost
No interruption (baseline)
0 of 120
Machine drained by hand
1 of 350
Machine switched off automatically to save money
1 of 189
Discounted machine taken back by AWS
1 of 764
Ordinary application update, without Understudy
2 of 38
mitis charts
A service described in one file
Templates for putting a service into production on Kubernetes by writing a few lines. Fields are checked, so a typo is reported immediately.
For people who work with Kubernetes: they are Helm charts with typed values, published on GHCR, plus a Crossplane package for each environment’s cloud resources.
api.yaml
name: api
image:
repository: traefik/whoami
tag: v1.12.0
capacity:
instances: 2
cpu: 100m
memory: 64Mi
availability:
zones: 2
ports:
http: 80
http:
exposure: public
subdomain: api
domain: test.example.com
health:
readiness: {http: /, port: http}
environment:
LOG_LEVEL: info
disruption:
surgeBeforeEviction: trueWhat the platform derives from it
The running serviceimage, capacity
Two copies, in two different zones of the data centre.
An internal addressports
Other services reach it by name.
A public addresshttp, domain
Reachable over HTTPS, with certificate and DNS.
Protection during maintenanceavailability
Never more than one copy down at a time.
Protection from interruptionsdisruption
A replacement copy ready before the original shuts down.
| Chart | What it does |
|---|---|
| service | A continuous service with its inputs, storage, helpers and jobs. |
| service-library | The service chart’s templates as a library, for composing several services into one application. |
| delivery | Argo CD applications and independent Kargo promotion units across explicit environments. |
| environment | One environment’s namespace, exposure profiles, isolation and maintenance switch, composed by Crossplane. |
Terraform
Modules for Scaleway
Six Terraform modules for networking, VPN and Kubernetes on Scaleway, a European cloud provider. We wrote them because there were no maintained ones to base a production environment on.
vpc
Creates a Scaleway VPC and its private networks.
public-gateway
Creates a Public Gateway, its flexible IP, and its attachments to private networks.
kapsule-cluster
Creates a Scaleway Kubernetes Kapsule cluster.
kapsule-pool
Creates a node pool for a Kapsule cluster.
kapsule-acl
Restricts which addresses may reach the cluster API server.
openvpn
Declarative split-tunnel OpenVPN on Scaleway with per-user profiles in Object Storage.
Tools
dbeaver-aws-sso
An extension for DBeaver, a widely used program for querying databases. It lets you connect to databases on AWS with your company sign-in, with no passwords to hand out.
