]> git-server-git.apps.pok.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)
committerMichael Wodniok <wodniok@wor.net>
Tue, 22 Dec 2020 09:48:32 +0000 (10:48 +0100)
Signed-off-by: Michael Wodniok <wodniok@wor.net>
doc/mgr/orchestrator.rst

index 8940d463efdb506c4a5fa4edb537b4f00c168ddd..2542db59401249e33859e3ae2e30cd16f06ebd72 100644 (file)
@@ -575,6 +575,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