Skip to content

Commit

Permalink
Update MariaDB Version (#738)
Browse files Browse the repository at this point in the history
Signed-off-by: SK Ali Arman <[email protected]>
  • Loading branch information
sheikh-arman authored Jan 30, 2025
1 parent 1f77b4b commit 23f4f72
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 18 deletions.
4 changes: 4 additions & 0 deletions docs/guides/mariadb/concepts/mariadb-version/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ spec:
image: prom/mysqld-exporter:v0.13.0
initContainer:
image: ghcr.io/kubedb/mariadb-init:0.5.2
maxscale:
image: mariadb/maxscale:24.02.4
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
40 changes: 22 additions & 18 deletions docs/guides/mariadb/private-registry/quickstart/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,28 @@ Docker hub repositories:
- [kubedb/mariadb](https://hub.docker.com/r/kubedb/mariadb)
- [kubedb/mysqld-exporter](https://hub.docker.com/r/kubedb/mysqld-exporter)

- Update KubeDB catalog for private Docker registry. Ex:

```yaml
apiVersion: catalog.kubedb.com/v1alpha1
kind: MariaDBVersion
metadata:
name: 10.5.23
spec:
db:
image: PRIVATE_REGISTRY/mysql:10.5.23
exporter:
image: PRIVATE_REGISTRY/mysqld-exporter:v0.11.0
initContainer:
image: PRIVATE_REGISTRY/busybox
podSecurityPolicies:
databasePolicyName: maria-db
version: 10.5.23
```
- Update KubeDB catalog for private Docker registry. Ex:

```yaml
apiVersion: catalog.kubedb.com/v1alpha1
kind: MariaDBVersion
metadata:
name: 10.5.23
spec:
db:
image: PRIVATE_REGISTRY/mysql:10.5.23
exporter:
image: PRIVATE_REGISTRY/mysqld-exporter:v0.11.0
initContainer:
image: PRIVATE_REGISTRY/busybox
maxscale:
image: mariadb/maxscale:24.02.4
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
version: 10.5.23
```
- To keep things isolated, this tutorial uses a separate namespace called `demo` throughout this tutorial. Run the following command to prepare your cluster for this tutorial:

Expand Down

0 comments on commit 23f4f72

Please sign in to comment.