# Ceph in the city: introducing my local Kubernetes to my ‘big’ Ceph cluster

- Link: https://www.agilicus.com/ceph-in-the-city-introducing-my-local-kubernetes-to-my-big-ceph-cluster/
- Published: 2019-04-08T09:52:42+00:00
- Author: Don Bowman

Ceph has long been a favourite technology of mine. Its a storage mechanism that just scales out forever. Gone are the days of raids and complex sizing / setup. Chuck all your disks into whatever number of servers, and let ceph take care of it. Want more read speed? Let it have more read replicas. Want a filesystem that is consistent on many hosts? Use cephfs. Want your OpenStack Nova/Glance/Cinder to play nice, work well, and have tons of space? use ceph. TL;DR: want to save a lot of money in an organisation, use Ceph. Why do you want these things? Cost and scalability. Ceph can dramatically lower the cost in your organisation vs running a big NAS or SAN. And do it for higher performance and better onward scalability. Don&#8217;t believe me? Check youtube My ceph system at home is wicked fast, but not that big. Its 3 x 1TB NVME. We talked about this earlier, and you may recall the beast-of-the-basement and its long NVME challenges. Its been faithfully serving my OpenStack system for a while, why not the Kubernetes one? NVME is not expensive anymore. I bought 3 of these. $200/each for 1TB. But, and this is really trick-mode, it has built-in capacitor &#8216;hard power down&#8217;. So you don&#8217;t have to have a batter-backed raid. If your server shuts down dirty the blocks still flush to ram, meaning you can run without hard-sync. Performance is much higher. OK, first we digress. Kubernetes has this concept of a &#8216;provisioner&#8217;. Sort of like cinder. Now, there are 3 main ways I could have gone: We use &#8216;magnum&#8217; on OpenStack, it creates Kubernetes clusters, which in turn have access to Ceph automatically We use OpenStack Cinder as the PVC of Kubernetes. We use Ceph rbd-provisioner of Kubernetes I tried #1, it worked OK. I have not tried #2. This post is about #3. Want to see? Lets dig in. Pull your parachute now if you don&#8217;t want to be blinded by YAML. cat
