]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/orch: How to update an existing specification 35099/head
authorSebastian Wagner <sebastian.wagner@suse.com>
Mon, 18 May 2020 09:24:29 +0000 (11:24 +0200)
committerSebastian Wagner <sebastian.wagner@suse.com>
Tue, 9 Jun 2020 08:57:30 +0000 (10:57 +0200)
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
doc/mgr/orchestrator.rst

index 6d3fc235f24cf15aad34b3458994cd2a22cb8d03..469dd97b0e1c49371a9a8f4aac378670f67d08c6 100644 (file)
@@ -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=<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
 ================================