-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sidecar rewrite #71
Comments
Thank you for reporting us your feedback! The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-5256.
|
For completing this task we will need to consider the following Base charm usageBecause we are using the base charm standard to refactor this charm, the proposed
Since this is a relatively easy charm, nothing else should be required. Sqlite to mysql migrationThe current implementation of this charm uses
|
Update on the mysql-k8s integrationWe have tried using Because of the above, we may have to stick with the
Please note that this solution completely deviates from the upstream deployment, where they are using |
@DnPlas since MLMD Charm is using a PVC for holding the data. Then how will the upgrade look like for this Charm (podspec to sidecar) if we need to remove/re-apply the Charm? If it's indeed a problem we don't have to tackle it in this issue, but let's have a follow-up then and track it in the 1.9 release |
@kimwnasptd I'm not entirely sure what you mean by "we need to remove/re-apply the Charm`. Are you saying this because in the past we had to remove some charms because of incompatibilities? My understanding for the upgrade story is that the storage and its data should not be lost during the process. When we remove a charm that has a storage attached, the default action juju takes is to detach the storage, and not remove it entirely, which means that after re-deploying the application we must be able to attach it to it. I will test this is the case for this effort. |
This commit introduces changes that support the refactoring of the charm from podspec to sidecar pattern. Fixes #71
This commit introduces changes that support the refactoring of the charm from podspec to sidecar pattern. Fixes #71
The charm has a mysql relation that is not used as it is provided by the mariadb charm which is no longer supported. The other alternative is to use the relational-db relation to relate to mysql-k8s charm, but due to #64, it is not possible. In #71 it was decided that instead of an external DB provider, the mlmd charm will use the SQLite implementation it has been using for a while. In PR#72 the charm code has been modified to exclusively use SQLite. Fixes #73
* refactor: rewrite mlmd charm to sidecar pattern This commit introduces changes that support the refactoring of the charm from podspec to sidecar pattern. Fixes #71
The charm has a mysql relation that is not used as it is provided by the mariadb charm which is no longer supported. The other alternative is to use the relational-db relation to relate to mysql-k8s charm, but due to #64, it is not possible. In #71 it was decided that instead of an external DB provider, the mlmd charm will use the SQLite implementation it has been using for a while. In PR#72 the charm code has been modified to exclusively use SQLite. Fixes #73
Context
We rewrite all of our charms using the sidecar pattern instead of the old podspec.
What needs to get done
Rewrite the charm using sidecar with base charm pattern.
Definition of Done
Charm is rewritten with sidecar with base charm pattern.
All of the tests are rewritten and passing.
The text was updated successfully, but these errors were encountered: