From 60aa262f2de73241b3940e6aa566b7b40a50d191 Mon Sep 17 00:00:00 2001 From: Zac Dover Date: Wed, 30 Nov 2022 14:31:17 +1000 Subject: [PATCH] doc/cephadm: format airgap install procedure Format the procedure that explains how to install an airgapped cluster. Signed-off-by: Zac Dover --- doc/cephadm/install.rst | 43 ++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 22 deletions(-) diff --git a/doc/cephadm/install.rst b/doc/cephadm/install.rst index d7f2be7e54eb..c3ab90a0436d 100644 --- a/doc/cephadm/install.rst +++ b/doc/cephadm/install.rst @@ -391,33 +391,33 @@ referred to as "airgapped". Ensure your container image is inside the registry and that you have access to all hosts you wish to add to the cluster. -Run a local container registry: +#. Run a local container registry: -.. prompt:: bash # + .. prompt:: bash # - podman run --privileged -d --name registry -p 5000:5000 -v /var/lib/registry:/var/lib/registry --restart=always registry:2 + podman run --privileged -d --name registry -p 5000:5000 -v /var/lib/registry:/var/lib/registry --restart=always registry:2 -If you are using an insecure registry, configure Podman or Docker with the -hostname and port where the registry is running. +#. If you are using an insecure registry, configure Podman or Docker with the + hostname and port where the registry is running. -.. note:: For every host which accesses the local insecure registry, you will need to repeat this step on the host. + .. note:: For every host which accesses the local insecure registry, you will need to repeat this step on the host. -Next, push your container image to your local registry. +#. Next, push your container image to your local registry. -* Ceph container image. See :ref:`containers`. -* Prometheus container image -* Node exporter container image -* Grafana container image -* Alertmanager container image + * Ceph container image. See :ref:`containers`. + * Prometheus container image + * Node exporter container image + * Grafana container image + * Alertmanager container image -Now, create a temporary configuration file for setting the montoring -images. (See :ref:`cephadm_monitoring-images`): +#. Now, create a temporary configuration file for setting the montoring images. + (See :ref:`cephadm_monitoring-images`): -.. prompt:: bash $ + .. prompt:: bash $ - $ cat < initial-ceph.conf + cat < initial-ceph.conf -:: + :: [mgr] mgr/cephadm/container_image_prometheus **:5000/prometheus @@ -425,12 +425,11 @@ images. (See :ref:`cephadm_monitoring-images`): mgr/cephadm/container_image_grafana **:5000/grafana mgr/cephadm/container_image_alertmanager **:5000/alertmanger -Then run bootstrap using the ``--image`` flag with your container image. For -example: - -.. prompt:: bash # +#. Then run bootstrap using the ``--image`` flag with your container image. For + example: - cephadm --image **:5000/ceph/ceph bootstrap --mon-ip ** + .. prompt:: bash # + cephadm --image **:5000/ceph/ceph bootstrap --mon-ip ** .. _cluster network: ../rados/configuration/network-config-ref#cluster-network -- 2.47.3