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: v16.1.0~2094^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3204457917e29f691e972da472d023faf41e49f6;p=ceph.git doc/orch: How to update an existing specification Signed-off-by: Sebastian Wagner --- diff --git a/doc/mgr/orchestrator.rst b/doc/mgr/orchestrator.rst index 6d3fc235f24..469dd97b0e1 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 ================================