ceph / ceph-helm

Curated applications for Kubernetes
Apache License 2.0
108 stars 36 forks source link

ceph-helm for single node deployment #36

Closed costrouc closed 6 years ago

costrouc commented 7 years ago

Is this a request for help?: yes

I am looking to use the ceph-helm chart to deploy on a single node kubernetes cluster. I have followed this tutorial and successfully got ceph running without kubernetes on a single node. Now I want to get it running within kubernetes using ceph-helm.

To clarify my understanding. I can basically follow the tutorial on the ceph documentation for kubernetes + helm. The only differences are:

  1. the single node must be labeled with both
    • ceph-monitor: ceph-mon=enabled ceph-mgr=enabled
    • ceph-osd: ceph-osd=enabled ceph-osd-device-dev-sdb=enabled ceph-osd-device-dev-sdc=enabled ...
  2. I must set osd pool default size = 2 and osd crush chooseleaf type = 0 in ceph-overrides.yaml

How would I complete step 2? Please correct me it step 1 is not correct.

intlabs commented 7 years ago

this should provide some pointers I hope:

costrouc commented 7 years ago

I will not be able to test this until tomorrow. From quickly looking at the links ( especially 'mvp/ceph.yaml' ) it looks like it solves my problem. Thank you @intlabs!

alram commented 6 years ago

Closing as it appears to have fixed the issue. @costrouc feel free to re-open if needed.