Kubernetes/Rook development cluster
-----------------------------------
-See :doc:`/dev/kubernetes`.
+See :ref:`kubernetes-dev`
Backporting
-----------
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
===========================
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.
3. Build Rook
=============
-.. info:
+.. note::
Work within your $GOPATH -- here we assume it's ~/go
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.
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
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
compression/encryption, etc).
:param osd_spec: OsdCreationSpec
- :return:
"""
raise NotImplementedError()