menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Devops News

>

Testing to...
source image

Hackernoon

1w

read

387

img
dot

Image Credit: Hackernoon

Testing to See if You Can Run a MariaDB Cluster on a $150 Kubernetes Lab

  • The article recounts the experience of running MariaDB on Kubernetes using Orange Pi 3 LTS boards, highlighting the hands-on approach and limitations of small physical devices.
  • The author aimed to deploy MariaDB and Galera replication with the official MariaDB Kubernetes Operator, providing Ansible playbooks on GitHub for reference.
  • The setup and configurations discussed in the article prioritize simplicity and brevity over best practices and security measures.
  • Key steps include installing K3s with selective components, setting up the MariaDB Operator via Helm, and managing the MariaDB root password as a secret.
  • Memory tuning was crucial due to limited resources, with adjustments made to parameters like innodb_buffer_pool_size and connection limits to prevent failures.
  • Galera Cluster deployment required additional configuration and patience, emphasizing the importance of probe thresholds and allowing the cluster to sync gradually.
  • The article details deployment manifests for a single MariaDB instance and a 3-node Galera cluster, along with performance checks to confirm replication.
  • Lessons learned include the automation capabilities of the MariaDB Operator, resource handling on limited hardware, and the significance of monitoring and tuning for stability.
  • The test environment showcased the potential of the MariaDB Kubernetes Operator for managing StatefulSets, volumes, and cluster state efficiently.
  • While not suitable for production, the experiment provides valuable insights into deploying databases on resource-constrained environments with Kubernetes.
  • The operator's capabilities extend beyond basic deployments, offering features like multiple HA modes, storage configuration, backup management, and TLS certificate handling.

Read Full Article

like

23 Likes

For uninterrupted reading, download the app