From f3ddd3a4b77d2a4a1eff67e28746e79f60192332 Mon Sep 17 00:00:00 2001 From: luanamulesoft Date: Wed, 8 Nov 2023 15:27:20 -0300 Subject: [PATCH 1/9] W-14455221-rtm-autoscaling --- .../modules/ROOT/pages/deployment-strategies.adoc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc b/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc index c7b68ac7d..19b85daa3 100644 --- a/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc +++ b/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc @@ -85,6 +85,7 @@ For an overview of the Runtime Manager features available with each deployment o * <> * <> * <> +* <> === High Availability @@ -226,6 +227,16 @@ For an overview of the Runtime Manager features available with each deployment o |Runtime Fabric | Use Anypoint Monitoring to view information about applications deployed to Runtime Fabric. To obtain the health status of the cluster and components, use Runtime Fabric command-line tools. See xref:runtime-fabric::manage-monitor-applications.adoc[Monitoring Applications Deployed to Runtime Fabric]. |=== + +=== Autoscaling + +[%header,cols="15,50,20"] +|=== +|Deployment Option | Implementation | More Information +|CloudHub 2.0 | Autoscaling makes Mule applications deployed to CHloudHub 2.0 responsive to resource usage by automatically scaling up or down the number replicas as needed. In Kubernetes, a Horizontal Pod Autoscaler (HPA) automatically updates a workload resource to automatically match demand. | xref:cloudhub-2::ch2-configure-horizontal-autoscaling.adoc[] +|Runtime Fabric | Runtime Fabric instances support scaling Mule app deployments by initiating additional replicas in response to the signals configured. In Kubernetes, a Horizontal Pod Autoscaler (HPA) automatically updates a workload resource to automatically match demand. | xref:runtime-fabric::configure-horizontal-autoscaling.adoc[] +|=== + == Security for Hybrid Deployments image:logo-hybrid-active.png[xref="deployment-strategies.adoc#hybrid-deployments", title="Hybrid"] From 6ec08c6a4f0108fbeb46a2fa570d2a86b682bc7f Mon Sep 17 00:00:00 2001 From: Luana Dos Santos <84200607+luanamulesoft@users.noreply.github.com> Date: Thu, 9 Nov 2023 10:52:09 -0300 Subject: [PATCH 2/9] Update deployment-strategies.adoc --- .../modules/ROOT/pages/deployment-strategies.adoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc b/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc index 19b85daa3..53e7d7e6c 100644 --- a/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc +++ b/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc @@ -85,7 +85,7 @@ For an overview of the Runtime Manager features available with each deployment o * <> * <> * <> -* <> +* <> === High Availability @@ -228,13 +228,13 @@ For an overview of the Runtime Manager features available with each deployment o |=== -=== Autoscaling +=== Horizontal Autoscaling [%header,cols="15,50,20"] |=== |Deployment Option | Implementation | More Information -|CloudHub 2.0 | Autoscaling makes Mule applications deployed to CHloudHub 2.0 responsive to resource usage by automatically scaling up or down the number replicas as needed. In Kubernetes, a Horizontal Pod Autoscaler (HPA) automatically updates a workload resource to automatically match demand. | xref:cloudhub-2::ch2-configure-horizontal-autoscaling.adoc[] -|Runtime Fabric | Runtime Fabric instances support scaling Mule app deployments by initiating additional replicas in response to the signals configured. In Kubernetes, a Horizontal Pod Autoscaler (HPA) automatically updates a workload resource to automatically match demand. | xref:runtime-fabric::configure-horizontal-autoscaling.adoc[] +|CloudHub 2.0 | Horizontal autoscaling makes Mule applications deployed to CHloudHub 2.0 responsive to resource usage by automatically scaling up or down replica capacity as needed. In Kubernetes, a Horizontal Pod Autoscaler (HPA) automatically updates a workload resource to automatically match demand. | xref:cloudhub-2::ch2-configure-horizontal-autoscaling.adoc[] +|Runtime Fabric | Runtime Fabric instances support scaling Mule application deployments by initiating additional replicas in response to the signals configured. In Kubernetes, a Horizontal Pod Autoscaler (HPA) automatically updates a workload resource to automatically match demand. | xref:runtime-fabric::configure-horizontal-autoscaling.adoc[] |=== == Security for Hybrid Deployments @@ -273,4 +273,4 @@ See xref:mule-runtime::shared-resources.adoc[Shared Resources]. * xref:cloudhub-2::ch2-deploy.adoc[Deploying Apps to CloudHub 2.0] * xref:cloudhub-2::ch2-features.adoc[Features of CloudHub 2.0] * xref:deploying-to-your-own-servers.adoc[Deploy to Your Servers] -* xref:runtime-fabric::deploy-index.adoc[Deploy Applications and API Proxies to Runtime Fabric] \ No newline at end of file +* xref:runtime-fabric::deploy-index.adoc[Deploy Applications and API Proxies to Runtime Fabric] From baea458927138b87afe19b2b569cb6d9fa100ea9 Mon Sep 17 00:00:00 2001 From: Luana Dos Santos <84200607+luanamulesoft@users.noreply.github.com> Date: Mon, 13 Nov 2023 14:08:45 -0300 Subject: [PATCH 3/9] Update runtime-manager/modules/ROOT/pages/deployment-strategies.adoc Co-authored-by: Kevin Troller --- runtime-manager/modules/ROOT/pages/deployment-strategies.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc b/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc index 53e7d7e6c..1f81dbc5b 100644 --- a/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc +++ b/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc @@ -234,7 +234,7 @@ For an overview of the Runtime Manager features available with each deployment o |=== |Deployment Option | Implementation | More Information |CloudHub 2.0 | Horizontal autoscaling makes Mule applications deployed to CHloudHub 2.0 responsive to resource usage by automatically scaling up or down replica capacity as needed. In Kubernetes, a Horizontal Pod Autoscaler (HPA) automatically updates a workload resource to automatically match demand. | xref:cloudhub-2::ch2-configure-horizontal-autoscaling.adoc[] -|Runtime Fabric | Runtime Fabric instances support scaling Mule application deployments by initiating additional replicas in response to the signals configured. In Kubernetes, a Horizontal Pod Autoscaler (HPA) automatically updates a workload resource to automatically match demand. | xref:runtime-fabric::configure-horizontal-autoscaling.adoc[] +|Runtime Fabric | Runtime Fabric instances support horizontal autoscaling Mule application deployments by initiating additional replicas in response to the signals configured. In Kubernetes, a Horizontal Pod Autoscaler (HPA) automatically updates a workload resource to automatically match demand. | xref:runtime-fabric::configure-horizontal-autoscaling.adoc[] |=== == Security for Hybrid Deployments From 16f329fb00def91ad893f6a416bbac00e5046172 Mon Sep 17 00:00:00 2001 From: luanamulesoft Date: Fri, 17 Nov 2023 12:12:05 -0300 Subject: [PATCH 4/9] applied reviews --- .../modules/ROOT/pages/deployment-strategies.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc b/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc index 1f81dbc5b..14a8345e3 100644 --- a/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc +++ b/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc @@ -85,7 +85,7 @@ For an overview of the Runtime Manager features available with each deployment o * <> * <> * <> -* <> +* <> === High Availability @@ -228,13 +228,13 @@ For an overview of the Runtime Manager features available with each deployment o |=== -=== Horizontal Autoscaling +=== Horizontal Pod Autoscaling (HPA) [%header,cols="15,50,20"] |=== |Deployment Option | Implementation | More Information -|CloudHub 2.0 | Horizontal autoscaling makes Mule applications deployed to CHloudHub 2.0 responsive to resource usage by automatically scaling up or down replica capacity as needed. In Kubernetes, a Horizontal Pod Autoscaler (HPA) automatically updates a workload resource to automatically match demand. | xref:cloudhub-2::ch2-configure-horizontal-autoscaling.adoc[] -|Runtime Fabric | Runtime Fabric instances support horizontal autoscaling Mule application deployments by initiating additional replicas in response to the signals configured. In Kubernetes, a Horizontal Pod Autoscaler (HPA) automatically updates a workload resource to automatically match demand. | xref:runtime-fabric::configure-horizontal-autoscaling.adoc[] +|CloudHub 2.0 | HPA makes Mule applications deployed to CloudHub 2.0 responsive to CPU signals by automatically scaling up or down replica capacity as needed. In Kubernetes, a Horizontal Pod Autoscaler (HPA) updates a workload resource to automatically match demand when the demand results in a surge in CPU usage. | xref:cloudhub-2::ch2-configure-horizontal-autoscaling.adoc[] +|Runtime Fabric | Runtime Fabric instances support horizontal autoscaling for Mule application deployments by initiating additional replicas in response to the application's CPU usage. In Kubernetes, a Horizontal Pod Autoscaler (HPA) updates a workload resource to automatically match demand when the demand results in a surge in CPU usage. | xref:runtime-fabric::configure-horizontal-autoscaling.adoc[] |=== == Security for Hybrid Deployments From 41f51ab905ddb0dc3ca360a8841084991d9a23a9 Mon Sep 17 00:00:00 2001 From: luanamulesoft Date: Fri, 17 Nov 2023 12:19:41 -0300 Subject: [PATCH 5/9] applied reviews2 --- .../modules/ROOT/pages/deployment-strategies.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc b/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc index 14a8345e3..75cd7bdc6 100644 --- a/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc +++ b/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc @@ -85,7 +85,7 @@ For an overview of the Runtime Manager features available with each deployment o * <> * <> * <> -* <> +* <> === High Availability @@ -228,13 +228,13 @@ For an overview of the Runtime Manager features available with each deployment o |=== -=== Horizontal Pod Autoscaling (HPA) +=== CPU-based Horizontal Pod Autoscaling (HPA) [%header,cols="15,50,20"] |=== |Deployment Option | Implementation | More Information -|CloudHub 2.0 | HPA makes Mule applications deployed to CloudHub 2.0 responsive to CPU signals by automatically scaling up or down replica capacity as needed. In Kubernetes, a Horizontal Pod Autoscaler (HPA) updates a workload resource to automatically match demand when the demand results in a surge in CPU usage. | xref:cloudhub-2::ch2-configure-horizontal-autoscaling.adoc[] -|Runtime Fabric | Runtime Fabric instances support horizontal autoscaling for Mule application deployments by initiating additional replicas in response to the application's CPU usage. In Kubernetes, a Horizontal Pod Autoscaler (HPA) updates a workload resource to automatically match demand when the demand results in a surge in CPU usage. | xref:runtime-fabric::configure-horizontal-autoscaling.adoc[] +|CloudHub 2.0 | Horizontal autoscaling makes Mule applications deployed to CloudHub 2.0 and RTF responsive to CPU usage by automatically scaling up or down replica capacity as needed. In Kubernetes, a Horizontal Pod Autoscaler (HPA) automatically updates a workload resource to automatically match demand. | xref:cloudhub-2::ch2-configure-horizontal-autoscaling.adoc[] +|Runtime Fabric | Horizontal autoscaling makes Mule applications deployed to CloudHub 2.0 and RTF responsive to CPU usage by automatically scaling up or down replica capacity as needed. In Kubernetes, a Horizontal Pod Autoscaler (HPA) automatically updates a workload resource to automatically match demand. | xref:runtime-fabric::configure-horizontal-autoscaling.adoc[] |=== == Security for Hybrid Deployments From 9d7ee468165702ff353d528689e67bb49e2a6e5e Mon Sep 17 00:00:00 2001 From: Kevin Troller Date: Fri, 17 Nov 2023 15:40:14 -0300 Subject: [PATCH 6/9] Update deployment-strategies.adoc Changes requested by RTM PM --- .../modules/ROOT/pages/deployment-strategies.adoc | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc b/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc index 75cd7bdc6..b6da8cd5c 100644 --- a/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc +++ b/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc @@ -85,7 +85,7 @@ For an overview of the Runtime Manager features available with each deployment o * <> * <> * <> -* <> +* <> === High Availability @@ -228,14 +228,12 @@ For an overview of the Runtime Manager features available with each deployment o |=== -=== CPU-based Horizontal Pod Autoscaling (HPA) +=== Horizontal Autoscaling -[%header,cols="15,50,20"] -|=== -|Deployment Option | Implementation | More Information -|CloudHub 2.0 | Horizontal autoscaling makes Mule applications deployed to CloudHub 2.0 and RTF responsive to CPU usage by automatically scaling up or down replica capacity as needed. In Kubernetes, a Horizontal Pod Autoscaler (HPA) automatically updates a workload resource to automatically match demand. | xref:cloudhub-2::ch2-configure-horizontal-autoscaling.adoc[] -|Runtime Fabric | Horizontal autoscaling makes Mule applications deployed to CloudHub 2.0 and RTF responsive to CPU usage by automatically scaling up or down replica capacity as needed. In Kubernetes, a Horizontal Pod Autoscaler (HPA) automatically updates a workload resource to automatically match demand. | xref:runtime-fabric::configure-horizontal-autoscaling.adoc[] -|=== +Horizontal autoscaling makes Mule app deployed to CloudHub 2.0 and Runtime Fabric responsive to CPU usage by automatically scaling up or down replica capacity as needed. In Kubernetes, a Horizontal Pod Autoscaler (HPA) automatically updates a workload resource to automatically match demand. + +* CloudHub 2.0 xref:cloudhub-2::ch2-configure-horizontal-autoscaling.adoc[] +* Runtime Fabric Configure Horizontal Autoscaling (HPA) for Runtime Fabric Deployments == Security for Hybrid Deployments From 71faab2bdc1cd1d17690b50fde07c1d98db6d46d Mon Sep 17 00:00:00 2001 From: luanamulesoft Date: Fri, 17 Nov 2023 17:46:56 -0300 Subject: [PATCH 7/9] reviews paragraph --- runtime-manager/modules/ROOT/pages/deployment-strategies.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc b/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc index b6da8cd5c..dd25efc67 100644 --- a/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc +++ b/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc @@ -230,6 +230,9 @@ For an overview of the Runtime Manager features available with each deployment o === Horizontal Autoscaling +image:logo-cloud2-active.png[xref="deployment-strategies.adoc#cloudhub-2-deployments", title="CloudHub 2.0"] +image:logo-rtf-active.png[xref="deployment-strategies.adoc#anypoint-runtime-fabric-deployments", title="Runtime Fabric"] + Horizontal autoscaling makes Mule app deployed to CloudHub 2.0 and Runtime Fabric responsive to CPU usage by automatically scaling up or down replica capacity as needed. In Kubernetes, a Horizontal Pod Autoscaler (HPA) automatically updates a workload resource to automatically match demand. * CloudHub 2.0 xref:cloudhub-2::ch2-configure-horizontal-autoscaling.adoc[] From 0332b19922ace1a6d9ac8972d7ee62c8efd8b5a5 Mon Sep 17 00:00:00 2001 From: luanamulesoft Date: Fri, 17 Nov 2023 17:51:02 -0300 Subject: [PATCH 8/9] reviews paragraph --- runtime-manager/modules/ROOT/pages/deployment-strategies.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc b/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc index dd25efc67..be55f98db 100644 --- a/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc +++ b/runtime-manager/modules/ROOT/pages/deployment-strategies.adoc @@ -235,8 +235,8 @@ image:logo-rtf-active.png[xref="deployment-strategies.adoc#anypoint-runtime-fabr Horizontal autoscaling makes Mule app deployed to CloudHub 2.0 and Runtime Fabric responsive to CPU usage by automatically scaling up or down replica capacity as needed. In Kubernetes, a Horizontal Pod Autoscaler (HPA) automatically updates a workload resource to automatically match demand. -* CloudHub 2.0 xref:cloudhub-2::ch2-configure-horizontal-autoscaling.adoc[] -* Runtime Fabric Configure Horizontal Autoscaling (HPA) for Runtime Fabric Deployments +* CloudHub 2.0: xref:cloudhub-2::ch2-configure-horizontal-autoscaling.adoc[] +* Runtime Fabric: xref:runtime-fabric::configure-horizontal-autoscaling.adoc[] == Security for Hybrid Deployments From 5662e322c6b428670acb8ddb0fbbbae3f62bf561 Mon Sep 17 00:00:00 2001 From: luanamulesoft Date: Wed, 29 Nov 2023 13:14:43 -0300 Subject: [PATCH 9/9] removed ref to AMC Deployment Target Registry as it is not public --- .../modules/ROOT/pages/continuous-deployment.adoc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/runtime-manager/modules/ROOT/pages/continuous-deployment.adoc b/runtime-manager/modules/ROOT/pages/continuous-deployment.adoc index 5f772de67..c585e0606 100644 --- a/runtime-manager/modules/ROOT/pages/continuous-deployment.adoc +++ b/runtime-manager/modules/ROOT/pages/continuous-deployment.adoc @@ -132,14 +132,6 @@ The task must then extract the organization identifier from the location 'user.o [TIP] The organization `id` retrieved in Step 2 must be passed as part of the API URI. The environment `id` must be extracted from the path 'data[i].id', where 'data[i].name == inputEnvironment' (it can take values like 'Dev', 'Test', 'Production', or any valid environment name that is set up in your Anypoint Platform). -To use the https://anypoint.mulesoft.com/exchange/portals/anypoint-platform/f1e97bc6-315a-4490-82a7-23abe036327a.anypoint-platform/amc-deployment-target-registry[AMC Deployment Target Registry] API: - -. Call the `/targets` on the Target Registry API, passing the provider `id`, as well as the retrieved organization `id` and environment `id`. This returns all of the registered targets for the organization, including the `targetId`. - -+ -[NOTE] -This step retrieves the target `id`, which is then used as a target for the deployment. The task needs to pick up the right target identifier based on the target name you provided as an input at the beginning of the workflow. The target `id` must be extracted from 'data[i].id' where 'data[i].name == inputTargetName'. - *Using the https://anypoint.mulesoft.com/exchange/portals/anypoint-platform/f1e97bc6-315a-4490-82a7-23abe036327a.anypoint-platform/amc-application-manager/1.0.3/console/summary/[Application Manager] API*: . Call deployments on the Application Manager API, passing the organization's `id` and the environment's `id`, to retrieve the application's `id` and the rest of its data.