How to run HA MongoDB on IBM Cloud Kubernetes Service

Click for: original source

A tutorial by Janakiram MSV about running highly available MongoDB cluster on IBM Cloud Kubernetes Service. IBM Cloud Kubernetes Service is a managed Kubernetes offering running in IBM Cloud. It is designed to deliver powerful tools, intuitive user experience, and built-in security for rapid delivery of applications that can be bound to cloud services related to IBM Watson, IoT, DevOps and data analytics.

This tutorial is a walk-through of the steps involved in deploying and managing MongoDB cluster.

The following steps are described:

  • Launching an IKS cluster running on bare metal servers with software-defined storage (SDS)
  • Installing cloud native storage solution like Portworx as a Daemonset on IKS
  • Createing storage class defining your storage requirements like replication factor, snapshot policy, and performance profile
  • Deploying MongoDB using Kubernetes
  • Test failover by killing or cordoning node in your cluster
  • Expanding the volume size dynamically
  • Performing backup and restore through snapshots

Through the integration of STORK (Storage Orchestration for Kubernetes), DevOps and StorageOps teams can seamlessly run highly available database clusters in IKS. Nice one!

[Read More]

Tags cloud kubernetes nosql