Skip to content

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-namespace

Understudy on GitHub

What 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

User requests lost out of those sent, with a single copy of the service running on AWS. Bar length is proportional to the share of requests lost. Source: Understudy documentation

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: true

What 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.

An excerpt of the public example for our templates. Fields are checked: a typo is reported immediately instead of being silently ignored. Code and documentation
ChartWhat it does
serviceA continuous service with its inputs, storage, helpers and jobs.
service-libraryThe service chart’s templates as a library, for composing several services into one application.
deliveryArgo CD applications and independent Kargo promotion units across explicit environments.
environmentOne environment’s namespace, exposure profiles, isolation and maintenance switch, composed by Crossplane.

mitis charts on GitHub

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.

    RegistrySource

  • public-gateway

    Creates a Public Gateway, its flexible IP, and its attachments to private networks.

    RegistrySource

  • kapsule-cluster

    Creates a Scaleway Kubernetes Kapsule cluster.

    RegistrySource

  • kapsule-pool

    Creates a node pool for a Kapsule cluster.

    RegistrySource

  • kapsule-acl

    Restricts which addresses may reach the cluster API server.

    RegistrySource

  • openvpn

    Declarative split-tunnel OpenVPN on Scaleway with per-user profiles in Object Storage.

    Source

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.

dbeaver-aws-sso on GitHub

Tell us about your situation.

Half an hour on a video call with an engineer. If we are not the right people for your problem, we will tell you during the call.