Introduction to Vitess: Using Vitess on Kubernetes

A Vitess overview Vitess is a database cluster solution for deploying, scaling and managing large clusters of MySQL instances. It’s architected to run as effectively in a public or private cloud architecture as it does on dedicated hardware. It combines and extends many important MySQL features with the scalability of a NoSQL database. In a simple scenario with Relational Databases and MySQL in particular, you would have a master instance, then a couple of replicas. Read More…

Roman Doroschevici
Roman Doroschevici
event August 31, 2018
timer Read Time: 17 minutes

Creating a Production Quality Database Setup using Rancher: Part 1

Creating a Production Quality Database Setup using Rancher: Part 1

Objective: In this article, we will walk through running a distributed, production-quality database setup managed by Rancher and characterized by stable persistence. We will use Stateful Sets with a Kubernetes cluster in Rancher for the purpose of deploying a stateful distributed Cassandra database. Pre-requisites: We assume that you have a Kubernetes cluster provisioned with a cloud provider. Consult the Rancher resource if you would like to create a K8s cluster in Amazon EC2 using Rancher 2. Read More…

Hisham Hasan
Hisham Hasan
event June 20, 2018
timer Read Time: 10 minutes

Running Highly Available WordPress with MySQL on Kubernetes

WordPress is a popular platform for editing and publishing content for the web. In this tutorial, I’m going to walk you through how to build out a highly available (HA) WordPress deployment using Kubernetes. WordPress consists of two major components: the WordPress PHP server, and a database to store user information, posts, and site data. We need to make both of these HA for the entire application to be fault tolerant. Read More…

event December 13, 2017
timer Read Time: 15 minutes

Securing a Containerized Instance of MongoDB

MongoDB, the popular open source NoSQL database, has been in the news a lot recently—and not for reasons that are good for MongoDB admins. Early this year, reports began appearing of MongoDB databases being “taken hostage” by attackers who delete all of the data stored inside the databases, then demand ransoms to restore it. Security is always important, no matter which type of database you’re using. But the recent spate of MongoDB attacks makes it especially crucial to secure any MongoDB databases that you may use as part of your container stack. Read More…

event March 9, 2017
timer Read Time: 4 minutes

Containers and PostgreSQL vs. MySQL vs. MariaDB

Which databases provide the best performance when used with containers? That’s an important question for people seeking to make the most of containerized infrastructure. In this post, I take a look at some basic performance metrics for three relational databases—PostgreSQL, MySQL, and MariaDB—when they are run as containers. Introduction For the purposes of my tests, I used the official container images available from Docker Hub to install and start the databases. Read More…

event January 19, 2017
timer Read Time: 4 minutes

Creating a MongoDB Replicaset with the Rancher Kubernetes Catalog

One of the key features of the Kubernetes integration in Rancher is the application catalog that Rancher provides. Rancher provides the ability to create Kubernetes templates that give users the ability to launch sophisticated multi-node applications with the click of a button. Rancher also adds the support of Application Services to Kubernetes, which leverage the use of Rancher’s meta-data services, DNS, and Load Balancers. All of this comes with a consistent and easy to use UI. Read More…

event April 25, 2016
timer Read Time: 6 minutes

Running Cassandra on Rancher

Apache Cassandra is a popular database technology which is gaining popularity these days. It provides adjustable consistency guarantees, is horizontally scalable, is built to be fault-tolerant and provides very low latency, (sub-millisecond) writes. This is why Cassandra is used heavily by large companies such as Facebook and Twitter. Furthermore, Cassandra uses application layer replication for its data which makes it ideal for a containerized environment. However, Cassandra, like most databases, assumes that database nodes are fairly static. Read More…

event March 24, 2016
timer Read Time: 8 minutes

Building a MongoDB Catalog Item for Rancher

[Recently Rancher introduced the Rancher catalog, an awesome feature that enables Rancher users to one-click deploy common applications and complex services from catalog templates on your infrastructure, and Rancher will take care of creating and orchestrating the Docker containers for you.] Rancher catalog offers a wide variety of applications in its out of the box catalog, including glusterfs or elasticsearch, as well as supporting private catalogs. Today I am going to introduce a new catalog template I developed for deploying a MongoDB replicaset, and show you how I built it. Read More…

event January 26, 2016
timer Read Time: 6 minutes

Using Ansible with Docker to Deploy a Wordpress Service on Rancher

[Over the last year I’ve been using Rancher with Ansible, and have found that using the two together can be incredibly useful. If you aren’t familiar with Ansible, it is a powerful configuration management tool which can be used to manage servers remotely without a daemon or agent running on the host. Instead, it uses SSH to connect with hosts, and applies tasks directly on the machines. Because of this, as long as you have SSH access to the host, (and Python) running on the host, you will be able to use Ansible to manage hosts remotely. Read More…

event November 3, 2015
timer Read Time: 9 minutes

Using Convoy to Backup and Recover a Wordpress MySQL database with Docker

The latest release of Docker Engine now supports volume plugins, which allow users to extend Docker capabilities by adding solutions that can create and manage data volumes for containers that need to manage and operate on persistent datasets.This is especially important for databases, and addresses one of the key limitations in Docker. Recently at Rancher we released Convoy, an open-source Docker volume driver that makes it simple to snapshot, backup, restore Docker volumes across clouds. Read More…

event September 9, 2015
timer Read Time: 5 minutes


Get free training from an expert through our classes on Kubernetes and Rancher

Sign Up Now
Contact Us keyboard_arrow_up