Replies: 5 comments 2 replies
-
What is your idea of integration?
In the second case, I can imagine creating a CLI out of K8up. The Going further with the CLI integration, we could make K8up also available for the user, e.g. to list available snapshots like |
Beta Was this translation helpful? Give feedback.
-
I haven't had a specific implementation in my mind when creating this topic, it's a tension I feel and this lead into starting this discussion. While reading the proposal I first thought that the first one makes more sense. But having everything in the same codebase probably makes it much more integrated. It could end up as a single binary which acts differently depending on which command is called (I've seen this on many other projects already and quite like the single-binary approach). Another possibility would be to build several binaries out of the same codebase, for example the operator, "wrestic" and cli binary. All in all I feel it would be a win-win situation to share the codebase to make use of all what's already available (CRD objects, release tooling, Git repo/issues, ...) PS: Having a K8up cli is something we should absolutely consider, some more infos can be found internally in APPU-1902. |
Beta Was this translation helpful? Give feedback.
-
In comparison to Kubernetes, K8s uses (at least) an API repository, server and client repositories kept separate. However, the codebase of Kubernetes is also significantly larger than k8up. I'm in favor of integrating restic here. It would also make e2e testing easier. |
Beta Was this translation helpful? Give feedback.
-
Opened #359 to move wrestic back into the main repo. |
Beta Was this translation helpful? Give feedback.
-
Closing this discussion, we have integrated it already. |
Beta Was this translation helpful? Give feedback.
-
K8up and Wrestic go together hand-in-hand. K8up depends on it to actually run the jobs, while Wrestic in theory could be used standalone.
Because of this tight coupling I'd like to question if it really makes sense to treat Wrestic as a separate project / Git repo or if it should be integrated into K8up. Integration would have the following advantages:
Beta Was this translation helpful? Give feedback.
All reactions