From: Sebastian Wagner Date: Tue, 14 Sep 2021 14:45:54 +0000 (+0200) Subject: doc/cephadm/service-management: Move "Updating Service Specifications" X-Git-Tag: v17.1.0~842^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=80f33a4e7df949759f9ac02c50b3bf99d03678e1;p=ceph.git doc/cephadm/service-management: Move "Updating Service Specifications" into "Service Specification" Signed-off-by: Sebastian Wagner --- diff --git a/doc/cephadm/service-management.rst b/doc/cephadm/service-management.rst index 284b1557ab73..eaf0be9060f6 100644 --- a/doc/cephadm/service-management.rst +++ b/doc/cephadm/service-management.rst @@ -144,6 +144,32 @@ following these instructions: The Specification can then be changed and re-applied as above. +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``: + + .. prompt:: bash # + + ceph orch ls --service_name= --export > myservice.yaml + +2. Update the yaml file: + + .. prompt:: bash # + + vi myservice.yaml + +3. Apply the new ``ServiceSpec``: + + .. prompt:: bash # + + ceph orch apply -i myservice.yaml [--dry-run] + .. _orchestrator-cli-placement-spec: Placement Specification @@ -363,33 +389,6 @@ YAML can also be used to specify limits on 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``: - - .. prompt:: bash # - - ceph orch ls --service_name= --export > myservice.yaml - -2. Update the yaml file: - - .. prompt:: bash # - - vi myservice.yaml - -3. Apply the new ``ServiceSpec``: - - .. prompt:: bash # - - ceph orch apply -i myservice.yaml [--dry-run] - - .. _orch-rm: Removing a Service