From 3204457917e29f691e972da472d023faf41e49f6 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Mon, 18 May 2020 11:24:29 +0200 Subject: [PATCH] doc/orch: How to update an existing specification Signed-off-by: Sebastian Wagner --- doc/mgr/orchestrator.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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 ================================ -- 2.39.5