From: Sebastian Wagner Date: Mon, 18 May 2020 09:24:29 +0000 (+0200) Subject: doc/orch: How to update an existing specification X-Git-Tag: v15.2.5~173^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2e5d844b18f53f6109991b32a4600c69326f3ed6;p=ceph.git doc/orch: How to update an existing specification Signed-off-by: Sebastian Wagner (cherry picked from commit 3204457917e29f691e972da472d023faf41e49f6) --- diff --git a/doc/mgr/orchestrator.rst b/doc/mgr/orchestrator.rst index 6d3fc235f24c..469dd97b0e1c 100644 --- a/doc/mgr/orchestrator.rst +++ b/doc/mgr/orchestrator.rst @@ -581,6 +581,26 @@ Or with hosts: - host2 - host3 +Updating Service Specifications +=============================== + +The Ceph Orchestrator maintains a declarative state of each +service in a ``ServiceSpec``. For certain operations, like updating +the RGW HTTP port, we need to update the existing +specification. + +1. List the current ``ServiceSpec``:: + + ceph orch ls --service_name= --export > myservice.yaml + +2. Update the yaml file:: + + vi myservice.yaml + +3. Apply the new ``ServiceSpec``:: + + ceph orch apply -i myservice.yaml + Configuring the Orchestrator CLI ================================