diff --git a/ceph/README.md b/ceph/README.md index 4a332ff715..800260f50f 100644 --- a/ceph/README.md +++ b/ceph/README.md @@ -65,15 +65,27 @@ export osd_cluster_network=10.32.0.0/12 export osd_public_network=10.32.0.0/12 ``` +### Label your storage nodes + +You must label your storage nodes in order to run Ceph pods on them. + +``` +kubectl label node node-type=storage +``` + +If you want all nodes in your Kubernetes cluster to be a part of your Ceph cluster, label them all. + +``` +kubectl label nodes node-type=storage --all +``` ### Quickstart -You will need to generate ceph keys and configuration. There is a simple to use utility that can do this quickly: +You will need to generate ceph keys and configuration. There is a simple to use utility that can do this quickly. Please note the generator utility (per ceph-docker) requires the sigil template framework: (https://github.com/gliderlabs/sigil) to be installed and on the current path. ``` - cd ceph/utils/generator -./generate_secrets.sh `./generate_secrets.sh fsid +./generate_secrets.sh `./generate_secrets.sh fsid` cd ../../.. ``` diff --git a/ceph/values.yaml b/ceph/values.yaml index 23943cc23b..1bb742b2d8 100644 --- a/ceph/values.yaml +++ b/ceph/values.yaml @@ -1,7 +1,11 @@ -# Default values for keystone. +# Default values for ceph. # This is a YAML-formatted file. # Declare name/value pairs to be passed into your templates. # name: value +# +# alanmeadows(NOTE): this is merely a sample of the potential +# tunables available - parameterizing more of the elements +# in the manifests is a work in progress image_ceph_daemon: quay.io/attcomdev/ceph-daemon:latest node_label: storage