Comments (2)
Thanks a lot!
Regarding the helm repo, I've just updated the docs pointing to the new one (https://charts.mmontes.duckdns.org ). We have some plans to improve the experience installing our chart:
MariaDB Version Tags are immutable
What is the recommanded upgrade path
That's right, this is not documented yet but the unoficial approach would be:
- Create a
MariaDB
resource
apiVersion: database.mmontes.io/v1alpha1
kind: MariaDB
metadata:
name: mariadb
spec:
rootPasswordSecretKeyRef:
name: mariadb
key: root-password
image:
repository: mariadb
tag: "10.7.4"
pullPolicy: IfNotPresent
port: 3306
volumeClaimTemplate:
resources:
requests:
storage: 100Mi
storageClassName: standard
accessModes:
- ReadWriteOnce
- Take a backup
apiVersion: database.mmontes.io/v1alpha1
kind: BackupMariaDB
metadata:
name: backup
spec:
mariaDbRef:
name: mariadb
storage:
persistentVolumeClaim:
resources:
requests:
storage: 100Mi
storageClassName: standard
accessModes:
- ReadWriteOnce
- Create a new
MariaDB
instance bumping the version and bootstrapping from backup:
apiVersion: database.mmontes.io/v1alpha1
kind: MariaDB
metadata:
name: mariadb-from-backup
spec:
rootPasswordSecretKeyRef:
name: mariadb
key: root-password
image:
repository: mariadb
tag: "10.9.4"
pullPolicy: IfNotPresent
port: 3306
volumeClaimTemplate:
resources:
requests:
storage: 100Mi
storageClassName: standard
accessModes:
- ReadWriteOnce
bootstrapFromBackupRef:
name: backup
When the new one is marked as Ready
you can swap the labels in your Service
to forward the traffic to it. I hope it makes sense, let me know otherwise.
We have plans to create a proper documentation with this kind of scenarios:
from mariadb-operator.
Closing. Please @pmig reopen if you need further help.
from mariadb-operator.
Related Issues (20)
- [Bug/Suggestion] When deploying multiple galera CRs with same name to same cluster, only one is working (without overrides) HOT 1
- [Bug] v0.0.19 Release manifests reference the previous version HOT 3
- [Feature] Request for documentation / information about galera recovery and livenessProbes HOT 7
- [Feature] Galera cross-cluster support HOT 2
- [Bug] Reconciler error Backup HOT 1
- [Bug] Remove old dependency to sigs.k8s.io/controller-runtime and sigs.k8s.io/controller-runtime/pkg/envtest/printer HOT 4
- [Bug] initcontainer spec collides with kustomize imagetagtransformer HOT 7
- [Bug] Galera cluster failed to resolve
- [Bug] Upgrading from standalone to replicated, sts `serviceName` not changed HOT 2
- Semi-Sync Replication breaks if initial binlogs have been purged HOT 3
- [Feature] Drop `--pasword` flag in favor of `MYSQL_PWD` env in backup commands
- [Feature] Drop redirection (`mariadb %s < %s`) in favor of `-e 'source %s'` in SQL commands HOT 2
- [Feature] Custom CA support HOT 2
- [Feature] Support extra arguments in `Restore` jobs
- [Bug] Can't deploy outside of default-namespace HOT 1
- [Feature] Support for `topologySpreadConstraints`
- [Feature] Allow setting ServiceAccountName / don't use "default" ServiceAccount HOT 4
- [Bug] Argocd SyncError when tryin gto install mariadbs.mariadb.mmontes.io crd HOT 2
- [Feature] Replication - Bootstrap replica from `mariabackup` HOT 2
- [Bug] Database, User, Grant creation is not repeated HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mariadb-operator.