update instructions; add note on values knobs

This commit is contained in:
Alan Meadows 2016-11-17 13:25:44 -08:00
parent d4292d0c8a
commit 5cefd39a72
2 changed files with 20 additions and 4 deletions

View File

@ -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 <nodename> 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 ../../..
```

View File

@ -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