From 5bca0b85156b0af42c3626a4ad4e7597f589e56c Mon Sep 17 00:00:00 2001 From: Michael Simmons Date: Thu, 16 Jul 2020 09:32:23 -0600 Subject: [PATCH 1/3] README update --- README.md | 33 ++++++++------------------------- 1 file changed, 8 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index bf18b0c..4fd8bc1 100644 --- a/README.md +++ b/README.md @@ -6,40 +6,23 @@ Version: 10.5.4 MariaDB is a community-developed fork of the MySQL relational database management system. -The following MariaDB documentation provides an introduction, primer, list of SQL statements, and useful MariaDB queries: +The Helm chart for MariaDB can be found [here](https://github.com/bitnami/charts/tree/master/bitnami/mariadb) -[https://mariadb.org/documentation/](https://mariadb.org/documentation/) +The recommended secure configuration is provided in values-ironbank.yaml [here](https://repo1.dsop.io/dsop/charts/-/tree/master/stable). -## Downloading and Building MariaDB from Iron Bank - -1. Go to the [MariaDB webpage](https://ironbank.dsop.io/vendor?product=mariadb&vendor=opensource) in Iron Bank and download the latest tarball. -2. Navigate to the location of the download and run `docker load -i *tarball.tar.gz* -t mariadb:*tag*` or `podman load -i *tarball.tar.gz* -t mariadb:*tag*`, substituting in the appropriate download name. This will build the image that will be used when the container runs. Provide a unique tag so that it is easy to reference the image later. +The [MariaDB documentation](https://mariadb.org/documentation/) provides an introduction, primer, list of SQL statements, and useful MariaDB queries: ## Usage -Run MariaDB while mounting your own data directory setting your passwords (**Set these passwords to your own**): -``` -### Set these passwords to your own -docker run --name mariadb -v /your/own/datadir:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=root-secret-pw -e MYSQL_USER=mysql -e MYSQL_PASSWORD=mysql-secret-pw -d mariadb:*tag* -### -``` -Exec into the shell of the container: -``` -docker exec -it mariadb bash -``` -Log in to start using: -``` -mysql -u mysql -p -``` +The values-ironbank.yaml file located [here](https://repo1.dsop.io/dsop/charts/-/tree/master/stable) provides a recommended secure configuration of MariaDB and can replace the values.yaml in the standard Helm chart (also provided in this repository). Please see the following links for more information regarding configration options for production-ready deployments. -## Notes +## Volumes -The following links provide additional tips for running MariaDB on Docker: +The standard location for the MariaDB volume is `/var/lib/mysql`. Further confiugration details can be specified and additional documentation on Kubernetes volumes can be found [here](https://kubernetes.io/docs/concepts/storage/volumes/) with details about each section in the volume definition that can be specified. -- [DockerHub: MariaDB Install Instructions](https://hub.docker.com/_/mariadb) -- [GitHub: MariaDB 10.5](https://github.com/docker-library/mariadb/tree/master/10.5) +## Notes -The following links provide additional tips for running MariaDB on Kubernetes: +Tips for Running MariaDB on Kubernetes can be found at the following links: - [An Introduction to Kubernetes Secrets and ConfigMaps](https://opensource.com/article/19/6/introduction-kubernetes-secrets-and-configmaps) - [Run a Single-Instance Stateful Application](https://kubernetes.io/docs/tasks/run-application/run-single-instance-stateful-application/) -- GitLab From bf238cc40e6020d86b597f1764d2edf981070529 Mon Sep 17 00:00:00 2001 From: Michael Simmons Date: Mon, 20 Jul 2020 08:05:04 -0600 Subject: [PATCH 2/3] Added Helm chart --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4fd8bc1..3d993ef 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ MariaDB is a community-developed fork of the MySQL relational database managemen The Helm chart for MariaDB can be found [here](https://github.com/bitnami/charts/tree/master/bitnami/mariadb) -The recommended secure configuration is provided in values-ironbank.yaml [here](https://repo1.dsop.io/dsop/charts/-/tree/master/stable). +The recommended secure configuration in values-ironbank.yaml as well as additional Helm chart data can be found [here](https://repo1.dsop.io/dsop/charts/-/tree/master/bitnami/mariadb/mariadb105/). The [MariaDB documentation](https://mariadb.org/documentation/) provides an introduction, primer, list of SQL statements, and useful MariaDB queries: @@ -18,7 +18,11 @@ The values-ironbank.yaml file located [here](https://repo1.dsop.io/dsop/charts/- ## Volumes -The standard location for the MariaDB volume is `/var/lib/mysql`. Further confiugration details can be specified and additional documentation on Kubernetes volumes can be found [here](https://kubernetes.io/docs/concepts/storage/volumes/) with details about each section in the volume definition that can be specified. +The standard location for the MariaDB volume is `/var/lib/mysql`. Further confiugration details can be specified and additional documentation on Kubernetes volumes can be found [here](https://kubernetes.io/docs/concepts/storage/volumes/) with details about each section in the volume definition that can be specified. + +## Configuration + +Configuration changed can be made in the `/etc/mysql/my.cnf` ## Notes -- GitLab From 3ee1d7549158afda3601ed4dfe12a43a754190c4 Mon Sep 17 00:00:00 2001 From: Michael Simmons Date: Mon, 20 Jul 2020 15:37:31 +0000 Subject: [PATCH 3/3] Update README.md --- README.md | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/README.md b/README.md index 3d993ef..3d0bd35 100644 --- a/README.md +++ b/README.md @@ -22,15 +22,4 @@ The standard location for the MariaDB volume is `/var/lib/mysql`. Further confiu ## Configuration -Configuration changed can be made in the `/etc/mysql/my.cnf` - -## Notes - -Tips for Running MariaDB on Kubernetes can be found at the following links: - -- [An Introduction to Kubernetes Secrets and ConfigMaps](https://opensource.com/article/19/6/introduction-kubernetes-secrets-and-configmaps) -- [Run a Single-Instance Stateful Application](https://kubernetes.io/docs/tasks/run-application/run-single-instance-stateful-application/) -- [Example: Deploying WordPress and MySQL with Persistent Volumes](https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/) -- [Deploy a Production-Ready MariaDB Cluster on Kubernetes with Bitnami and Helm](https://engineering.bitnami.com/articles/deploy-a-production-ready-mariadb-cluster-on-kubernetes-with-bitnami-and-helm.html) -- [How to Set Up MySQL Kubernetes Deployments with Cloud Volumes](https://cloud.netapp.com/blog/how-to-set-up-mysql-kubernetes-deployments) -- [How to Run HA MariaDB on Google Kubernetes Engine](https://portworx.com/run-ha-mariadb-google-kubernetes-engine/) \ No newline at end of file +Configuration changed can be made in the `/etc/mysql/my.cnf` \ No newline at end of file -- GitLab