riotkit-org / br-backup-controller Goto Github PK
View Code? Open in Web Editor NEWBackup Repository client. Part of E2E Backup solution designed by RiotKit
License: Apache License 2.0
Backup Repository client. Part of E2E Backup solution designed by RiotKit
License: Apache License 2.0
Project should be renamed from Bahub into Backup Controller to less confuse users. We have Backup Maker
, so the components needs to be distencted from each other.
Backup Controller
should have a possibility to generate JSON Web Tokens (that gives access to Backup Repository server) on-demand, when a backup is planned to be done.
Temporary JWT should be injected into Backup Maker
environment. After successful upload or download the token would be deactivated by the server.
Currently it is marked as todo
Just like Docker Adapter, we need an adapter for Kubernetes.
There should be two options:
exec
on existing pod to backup it's contentsjob
that will perform a backup by accessing persistent volumes of the application. Bahub should observe the job
realtime (synchronous) and collect logs, redirect into the stdout.Bahub should no longer upload files into Backup Repository. Bahub should take care of scheduling the pod, and injecting a binary that would upload the backup by itself.
Why such architecture change? Reasons:
The architecture change should be applied to non-kubernetes adapters as well to allow us to fully move the upload & encryption code into a external-tiny application. Of course the GNUPG encryption would stay as it is using native gpg binary without creating own solutions.
The new "uploader" tiny application should be written in Go language, so it would be injected as a simple binary pre-compiled for supported architectures, without need to have Python installed.
The job
should be scheduled by Bahub with following input parameters:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.