iskrid / rancher-rbd-catalog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rancher RBD

Note: This item currently only supports Ceph Jewel version. Due to librbd compatibility with the kernel, it is recommended to use Ubuntu16.04 for host OS.

Default Configuration

As we all know, Ceph's configuration file is very complex, so it is difficult to automatically generate it. You need to manually synchronize the configuration file in the /etc/ceph directory on all rancher-agent nodes, rancher-rbd will mount this directory.

Use case:

version: '2'
services:
  foo:
    image: nginx
    volumes:
    - bar:/var/lib/storage
volumes:
  bar:
    driver: rancher-rbd
    driver_opts:
      size: 2G
      pool: rbd

About