RFD: https://github.com/SUSE/rancher-architecture/pull/38
rancher/rancher#54228
Support day 2 operations for imported rke2/k3s and CAPI clusters
- etcd snapshot create + restore
- certificate rotation
- encryption key rotation
Currently
these are managed via updating the v2prov provisioning.cattle.io cluster.
- rkeConfig.etcdSnapshotRestore|etcdSnapshotcreate|rotateEncryptionKets|rotateCertifcates props
the same provisioning cluster object also contains configuration
- automatic snapshots
- snapshot location
- metrics
Changes
These apply to all supported types
- v2prov clusters
- old method will continue to be supported, but be deprecated
- migrate from old method to new method needs to happen, but doesn't have to be in same milestone
- imported rke2/k3s clusters
- CAPI clusters (not v2prov capi clusters, these should be covered by first point)
Changes
- create/edit clusters
- all types
- operation config
- stored in prov cluster for v2prov, otherwise mgmt cluster
- object is the same regardless of which cluster type config is stored inmap?
- mgmt cluster type
- option to enable day 2 operations. default value is
imported-cluster-day-2-operations-default setting
- operations
- types
- etcd snapshot create + restore
- for imported and capi clusters add snapshots tab to detail page
- list
v1/rke.cattle.io.etcdsnapshots (with same columns as v2prov)
- create snapshot via new operation
- visible if user can create the operation CR
- delete snapshot as before
- visible if user can delete the etcd snapshot resource
- restore snapshot via new operation
- visible if user can create the operation CR
- cluster actions
- take snapshot via new operation
- visible if user can create the operation CR
- restore snapshot - model updated with new operation
- visible if user can create the operation CR
- snapshot configuration
- TBD automatic snapshots, snapshot location, metrics
- certificate rotation
- cluster actions
- rotate - model updated with new operation
- visible if user can create the operation CR
- encryption key rotation
- cluster actions
- rotate - model updated with new operation
- visible if user can create the operation CR
- TBD Users can list the different operations
- users can pause or cancel (delete) operation
RFD: https://github.com/SUSE/rancher-architecture/pull/38
rancher/rancher#54228
Support day 2 operations for imported rke2/k3s and CAPI clusters
Currently
these are managed via updating the v2prov provisioning.cattle.io cluster.
the same provisioning cluster object also contains configuration
Changes
These apply to all supported types
Changes
imported-cluster-day-2-operations-defaultsettingv1/rke.cattle.io.etcdsnapshots(with same columns as v2prov)