Is it recommended to deploy MySQL database in kube.netes with one pod or more pods in the production?
What are the advantages and disadvantages if we deploy MySQL database k8s production.
Having one database pod in production would lead to single point of failure. You need to deploy the database with high availability using multiple replicas and automatic failover if you consider running databases in kube.netes. good to add database backup and restore features to the pod image for recovery purpose in case the database needs to be restored from an old backup copy.
consider the below helm charts for mysql deployment in kube.netes container platform https://github.com/bitnami/charts/tree/master/bitnami/mysql
https://github.com/bitnami/charts/tree/master/bitnami/mariadb
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.