jetstack / navigator

Managed Database-as-a-Service (DBaaS) on Kubernetes
Apache License 2.0
271 stars 31 forks source link

Navigator upgrade #313

Open wallrj opened 6 years ago

wallrj commented 6 years ago

Things to consider, in no particular order:

/kind feature

munnerz commented 6 years ago

New Controller should update or replace Kubernetes resources that have changed between versions (e.g. Modifications to statefulsets [#308] , services, rbac roles and bindings).

I don't think we should treat an upgrade of navigator as a special case of upgrading the clusters it manages. It should be treated in the same way as any other sync, e.g. if a user were to manually edit a StatefulSet resource managed by Navigator, Navigator should reconcile the changes to that StatefulSet using the same mechanism as is used during an upgrade to navigator-controller (e.g. navigator-controller should observe what the current resource requirements are, and what they should be, and reconcile that).