Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

W-14455221-rtm-autoscaling #706

Open
wants to merge 9 commits into
base: latest
Choose a base branch
from
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
14 changes: 13 additions & 1 deletion runtime-manager/modules/ROOT/pages/deployment-strategies.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ For an overview of the Runtime Manager features available with each deployment o
* <<Security Updates>>
* <<Shared Resource Support>>
* <<Troubleshooting>>
* <<Horizontal Autoscaling>>


=== High Availability
Expand Down Expand Up @@ -226,6 +227,17 @@ 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].
|===


=== 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[]
* Runtime Fabric: xref:runtime-fabric::configure-horizontal-autoscaling.adoc[]

== Security for Hybrid Deployments

image:logo-hybrid-active.png[xref="deployment-strategies.adoc#hybrid-deployments", title="Hybrid"]
Expand Down Expand Up @@ -262,4 +274,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]
* xref:runtime-fabric::deploy-index.adoc[Deploy Applications and API Proxies to Runtime Fabric]