From 2acee0cac6eea2ef0368250a4e28ab455938cb72 Mon Sep 17 00:00:00 2001 From: Francisco Lopez-Sancho Date: Thu, 16 Jan 2025 04:48:51 +0100 Subject: [PATCH] addressing comments - creating section to edit descriptor in place --- .../pages/services/deploy-service.adoc | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/docs/src/modules/operations/pages/services/deploy-service.adoc b/docs/src/modules/operations/pages/services/deploy-service.adoc index 2bef5e3f7..85491d301 100644 --- a/docs/src/modules/operations/pages/services/deploy-service.adoc +++ b/docs/src/modules/operations/pages/services/deploy-service.adoc @@ -173,14 +173,7 @@ For further details, see xref:operations:projects/external-container-registries. Akka services can also be described and managed with *YAML service descriptors*. See xref:reference:descriptors/service-descriptor.adoc[]. -Once you have <<_deploying_a_service, deployed your service>>, you can modify it by editing its service descriptor: - -[source, command line] ----- -akka service edit my-service ----- - -Whether you have deployed your service or not, you can always deploy it using a service descriptor. +You can deploy your service using a service descriptor. For this you need at least the image, which you can get by <<_build_container_image, building the container image>> and then <<_pushing_to_acr, pushing it to the container registry>>: [source, command line] @@ -224,6 +217,15 @@ After editing the service descriptor (e.g., `my-service.yaml`), redeploy it with akka service apply -f my-service.yaml ---- +=== Editing in place the service descriptor + +Once you have <<_deploying_a_service, deployed your service>>, you can also modify it by editing its service descriptor: + +[source, command line] +---- +akka service edit my-service +---- + == Removing a deployed service To delete a service and free its resources, run the following command, replacing `my-service` with the name of the service you want to remove: