]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: added section about retival of Service Spec.
authorMichael Wodniok <wodniok@wor.net>
Tue, 22 Dec 2020 09:46:54 +0000 (10:46 +0100)
committerSebastian Wagner <sebastian.wagner@suse.com>
Fri, 29 Jan 2021 12:42:38 +0000 (13:42 +0100)
Signed-off-by: Michael Wodniok <wodniok@wor.net>
(cherry picked from commit 84bdafe0e36e11fb8b57065625a5ecb49fd3c248)

doc/mgr/orchestrator.rst

index f22a4a684b09dddb459e61969e99a6a29bce4b63..266e83aa59e1275c3a202b89fc2c3a2dbb00bee1 100644 (file)
@@ -743,6 +743,18 @@ Many service specifications can be applied at once using
       all: true
     EOF
 
+Retrieving the running Service Specification
+--------------------------------------------
+
+If started via ``ceph orch apply <rgw|mds|...>`` changing the Service
+Specification directly is normally a bit more complicated. It is easier to
+export the running Service Specification like so::
+    
+    ceph orch ls rgw rgw.<id> --export yaml >rgw.<id>.yaml
+    ceph orch ls mgr mgr --export yaml >mgr.yaml
+
+The Specification can then be changed and re-applied as above.
+
 .. _orchestrator-cli-placement-spec:
 
 Placement Specification