]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/mgr/nfs: add section on updating an nfs cluster
authorSage Weil <sage@newdream.net>
Wed, 11 Aug 2021 16:31:21 +0000 (11:31 -0500)
committerSebastian Wagner <sewagner@redhat.com>
Thu, 9 Sep 2021 14:20:40 +0000 (16:20 +0200)
Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 7cc4c91dce2a1f1bcb6a02efb231bdbda0929500)

doc/mgr/nfs.rst

index 8ff41ed1cb0fa92a30b96b84f004934022d39861..2c70c5c2f2501b81a5efc3f5814b9e6c471133a4 100644 (file)
@@ -128,6 +128,22 @@ Delete NFS Ganesha Cluster
 
 This deletes the deployed cluster.
 
+Updating an NFS Cluster
+-----------------------
+
+In order to modify cluster parameters (like the port or placement), you need to
+use the orchestrator interface to update the NFS service spec.  The safest way to do
+that is to export the current spec, modify it, and then re-apply it.  For example,
+to modify the ``nfs.foo`` service,
+
+.. code:: bash
+
+    $ ceph orch ls --service-name nfs.foo --export > nfs.foo.yaml
+    $ vi nfs.foo.yaml
+    $ ceph orch apply -i nfs.foo.yaml
+
+For more information about the NFS service spec, see :ref:`deploy-cephadm-nfs-ganesha`.
+
 List NFS Ganesha Clusters
 -------------------------