admin: Assess pros/cons of migrating static services to kubernetes
This only deals with the admin environment.
Goals
Keep up with upstream upgrades. We currently cannot (for example netbox is late 1)
Upgrade should be transparent (without downtime). There is currently no rolling upgrade on most of our services (that comes defacto with kubernetes).
Impacts
- Charts development
- Data migration from previous backends to the ones managed in kubernetes
Assessment plan
- make a list of the tools/services deployed as VMs (next chapter 2)
- for each tool/service
- look into whether container images, helm chart, etc... exist;
- sketch what the kube deployment would look like;
- make a plan for migrating the data into the kube deployment (manual restore of the db, I don't know what);
- then compare that work with current puppet-based maintenance is ok
Services
List of tools/services deployed per vm in the admin realm.
|---------------+---------------------+------------------------+----------------|
| Service | Purpose | Current running on vms | Clients |
|---------------+---------------------+------------------------+----------------|
| netbox | hardware inventory | bojimans.admin | sysop |
| keycloak | authentication | kelvingrove.admin | swh services |
| reverse-proxy | // | rp1.admin | swh services |
| thanos | // | thanos.admin | swh services |
| dbs | postgresql servers | dali.admin | sysop services |
| sentry | swh services issues | riverside.admin | swh services |
| grafana | monitoring board | grafana0.admin | swh services |
|---------------+---------------------+------------------------+----------------|
Existing
- Postgresql db can be managed in kube (but it's not completely assessed either).