]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/mgr/nfs: add section on updating an nfs cluster 42759/head
authorSage Weil <sage@newdream.net>
Wed, 11 Aug 2021 16:31:21 +0000 (11:31 -0500)
committerSage Weil <sage@newdream.net>
Wed, 11 Aug 2021 16:32:35 +0000 (11:32 -0500)
Signed-off-by: Sage Weil <sage@newdream.net>
doc/mgr/nfs.rst

index 4b05544f60a461e80203812e5ab559d16e3b8589..988e33c4d9dc81feb5815020fb7928506ead7fec 100644 (file)
@@ -126,6 +126,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
 -------------------------