]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Rook/orchestrator doc fixes 23472/head
authorJohn Spray <john.spray@redhat.com>
Tue, 7 Aug 2018 13:54:19 +0000 (09:54 -0400)
committerJohn Spray <john.spray@redhat.com>
Tue, 7 Aug 2018 14:13:31 +0000 (10:13 -0400)
Signed-off-by: John Spray <john.spray@redhat.com>
doc/dev/index.rst
doc/dev/kubernetes.rst
src/pybind/mgr/orchestrator.py

index 0b3bf953b2b6a2172c17e55a6f9eed064e1bb780..db176517f124e1df6389338a569b6df59fc91af6 100644 (file)
@@ -206,7 +206,7 @@ See :doc:`/dev/quick_guide`.
 Kubernetes/Rook development cluster
 -----------------------------------
 
-See :doc:`/dev/kubernetes`.
+See :ref:`kubernetes-dev`
 
 Backporting
 -----------
index ef88500a545ff95611675ae2a8d72c2e92dee661..fc9373c89894ce739cde81dfc79830d6a0139f22 100644 (file)
@@ -5,7 +5,7 @@
 Hacking on Ceph in Kubernetes with Rook
 =======================================
 
-.. warning:
+.. warning::
 
     This is *not* official user documentation for setting up production
     Ceph clusters with Kubernetes.  It is aimed at developers who want
@@ -67,7 +67,7 @@ Make sure you check how much it's costing you before you spin up a big cluster!
 ===========================
 
 Ideally, run this somewhere accessible from both your workstation and your
-kubernetes cluster (i.e. so that "docker push/pull" just works everywhere).
+kubernetes cluster (i.e. so that ``docker push/pull`` just works everywhere).
 This is likely to be the same host you're using as your kubernetes master.
 
 1. Install the ``docker-distribution`` package.
@@ -83,7 +83,7 @@ This is likely to be the same host you're using as your kubernetes master.
 3. Build Rook
 =============
 
-.. info:
+.. note::
 
     Work within your $GOPATH -- here we assume it's ~/go
 
@@ -151,7 +151,7 @@ binaries:
 
     build$ REPO=<host>:<port> sh ../src/script/kubejacker/kubejacker.sh
 
-.. info:
+.. note::
 
     You can also set ``BASEIMAGE`` to control that Rook image used
     as the base -- by default this is set to any "ceph-amd64" image.
@@ -166,7 +166,7 @@ build, and the Ceph build too.
 5. Run a Rook cluster
 =====================
 
-.. info:
+.. note::
 
     This is just some basic instructions: the Rook documentation
     is much more expansive, at https://github.com/rook/rook/tree/master/Documentation
index 0660f05e970e04fe1e6adc731dc4709c79ab2d49..43eee7da630d7c414586bb3dc8ade433dc72f1e8 100644 (file)
@@ -127,7 +127,7 @@ class Orchestrator(object):
         status to return: the default None, None return value is used
         to indicate that a module is unable to indicate its availability.
 
-        @return two-tuple of boolean, string
+        :return: two-tuple of boolean, string
         """
         return None, None
 
@@ -175,7 +175,6 @@ class Orchestrator(object):
         compression/encryption, etc).
 
         :param osd_spec: OsdCreationSpec
-        :return:
         """
         raise NotImplementedError()