Skip to content

Commit 5973c9c

Browse files
authored
Merge pull request #212414 from SteveSaunders1952/v-ssaunders-zhoufenqin
Edits to feat: improve build service doc
2 parents 9ec0cbf + d46b575 commit 5973c9c

File tree

8 files changed

+54
-21
lines changed

8 files changed

+54
-21
lines changed

articles/spring-apps/how-to-appdynamics-java-agent-monitor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ms.devlang: azurecli
1616
> [!NOTE]
1717
> Azure Spring Apps is the new name for the Azure Spring Cloud service. Although the service has a new name, you'll see the old name in some places for a while as we work to update assets such as screenshots, videos, and diagrams.
1818
19-
**This article applies to:** ✔️ Basic/Standard tier ️ Enterprise tier
19+
**This article applies to:** ✔️ Basic/Standard tier ️ Enterprise tier
2020

2121
This article explains how to use the AppDynamics Java Agent to monitor Spring Boot applications in Azure Spring Apps.
2222

articles/spring-apps/how-to-application-insights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ zone_pivot_groups: spring-apps-tier-selection
1515
> [!NOTE]
1616
> Azure Spring Apps is the new name for the Azure Spring Cloud service. Although the service has a new name, you'll see the old name in some places for a while as we work to update assets such as screenshots, videos, and diagrams.
1717
18-
**This article applies to:** ✔️ Basic/Standard tier ️ Enterprise tier
18+
**This article applies to:** ✔️ Basic/Standard tier ️ Enterprise tier
1919

2020
This article explains how to monitor applications by using the Application Insights Java agent in Azure Spring Apps.
2121

articles/spring-apps/how-to-dynatrace-one-agent-monitor.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.devlang: azurecli
1515
> [!NOTE]
1616
> Azure Spring Apps is the new name for the Azure Spring Cloud service. Although the service has a new name, you'll see the old name in some places for a while as we work to update assets such as screenshots, videos, and diagrams.
1717
18-
**This article applies to:** ✔️ Basic/Standard tier ️ Enterprise tier
18+
**This article applies to:** ✔️ Basic/Standard tier ️ Enterprise tier
1919

2020
This article shows you how to use Dynatrace OneAgent to monitor Spring Boot applications in Azure Spring Apps.
2121

@@ -85,7 +85,7 @@ To add the key/value pairs using the Azure portal, use the following steps:
8585

8686
1. Navigate to the list of your existing applications.
8787

88-
:::image type="content" source="media/dynatrace-oneagent/existing-applications.png" alt-text="Screenshot of the Azure portal showing the Azure Spring Apps Apps section." lightbox="media/dynatrace-oneagent/existing-applications.png":::
88+
:::image type="content" source="media/dynatrace-oneagent/existing-applications.png" alt-text="Screenshot of the Azure portal showing the Azure Spring Apps section." lightbox="media/dynatrace-oneagent/existing-applications.png":::
8989

9090
1. Select an application to navigate to the **Overview** page of the application.
9191

@@ -112,7 +112,7 @@ environment_variables = {
112112
}
113113
```
114114

115-
### Automate provisioning using an Bicep file
115+
### Automate provisioning using a Bicep file
116116

117117
To configure the environment variables in a Bicep file, add the following code to the file, replacing the *\<...>* placeholders with your own values. For more information, see [Microsoft.AppPlatform Spring/apps/deployments](/azure/templates/microsoft.appplatform/spring/apps/deployments?tabs=bicep).
118118

articles/spring-apps/how-to-enterprise-build-service.md

Lines changed: 49 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: How to Use Tanzu Build Service in Azure Spring Apps Enterprise Tier
33
titleSuffix: Azure Spring Apps Enterprise Tier
4-
description: How to Use Tanzu Build Service in Azure Spring Apps Enterprise Tier
4+
description: Learn how to Use Tanzu Build Service in Azure Spring Apps Enterprise Tier
55
author: karlerickson
66
ms.author: fenzho
77
ms.service: spring-apps
88
ms.topic: how-to
9-
ms.date: 02/09/2022
9+
ms.date: 09/23/2022
1010
ms.custom: devx-track-java, devx-track-azurecli, event-tier1-build-2022
1111
---
1212

@@ -23,11 +23,11 @@ In Azure Spring Apps, the existing Standard tier already supports compiling user
2323

2424
## Build Agent Pool
2525

26-
Tanzu Build Service in the Enterprise tier is the entry point to containerize user applications from both source code and artifacts. There's a dedicated build agent pool that reserves compute resources for a given number of concurrent build tasks. The build agent pool prevents resource contention with your running apps. You can configure the number of resources given to the build agent pool during or after creating a new service instance of Azure Spring Apps using the **VMware Tanzu settings**.
26+
Tanzu Build Service in the Enterprise tier is the entry point to containerize user applications from both source code and artifacts. There's a dedicated build agent pool that reserves compute resources for a given number of concurrent build tasks. The build agent pool prevents resource contention with your running apps. You can configure the number of resources given to the build agent pool when you create a new service instance of Azure Spring Apps using the **VMware Tanzu settings**.
2727

28-
:::image type="content" source="media/enterprise/how-to-enterprise-build-service/agent-pool.png" alt-text="Screenshot of Azure portal showing Azure Spring Apps Create page with V M ware Tanzu settings highlighted and Allocated Resources dropdown showing." lightbox="media/enterprise/how-to-enterprise-build-service/agent-pool.png":::
28+
:::image type="content" source="media/enterprise/how-to-enterprise-build-service/agent-pool.png" alt-text="Screenshot of Azure portal showing the Azure Spring Apps Create page with VMware Tanzu settings highlighted and Allocated Resources dropdown showing." lightbox="media/enterprise/how-to-enterprise-build-service/agent-pool.png":::
2929

30-
The Build Agent Pool scale set sizes available are:
30+
The following Build Agent Pool scale set sizes are available:
3131

3232
| Scale Set | CPU/Gi |
3333
|-----------|---------------|
@@ -37,9 +37,9 @@ The Build Agent Pool scale set sizes available are:
3737
| S4 | 5 vCPU, 10 Gi |
3838
| S5 | 6 vCPU, 12 Gi |
3939

40-
The following image shows the resources given to the Tanzu Build Service Agent Pool after you've successfully provisioned the service instance. You can also update the configured agent pool size.
40+
The following image shows the resources given to the Tanzu Build Service Agent Pool after you've successfully provisioned the service instance. You can also update the configured agent pool size on the **Build Service** page after you've created the service instance.
4141

42-
:::image type="content" source="media/enterprise/how-to-enterprise-build-service/agent-pool-size.png" alt-text="Screenshot of Azure portal showing Azure Spring Apps Build Service page with 'General info' highlighted." lightbox="media/enterprise/how-to-enterprise-build-service/agent-pool-size.png":::
42+
:::image type="content" source="media/enterprise/how-to-enterprise-build-service/agent-pool-size.png" alt-text="Screenshot of Azure portal showing the Azure Spring Apps Build Service page with General info highlighted." lightbox="media/enterprise/how-to-enterprise-build-service/agent-pool-size.png":::
4343

4444
## Default Builder and Tanzu Buildpacks
4545

@@ -55,23 +55,21 @@ The following list shows the Tanzu Buildpacks available in Azure Spring Apps Ent
5555
- tanzu-buildpacks/nodejs
5656
- tanzu-buildpacks/python
5757

58-
For details about Tanzu Buildpacks, see [Using the Tanzu Partner Buildpacks](https://docs.pivotal.io/tanzu-buildpacks/partner-integrations/partner-integration-buildpacks.html).
59-
6058
## Build apps using a custom builder
6159

6260
Besides the `default` builder, you can also create custom builders with the provided buildpacks.
6361

6462
All the builders configured in a Spring Cloud Service instance are listed in the **Build Service** section under **VMware Tanzu components**.
6563

66-
:::image type="content" source="media/enterprise/how-to-enterprise-build-service/builder-list.png" alt-text="Screenshot of Azure portal showing Build Service page with list of configured builders." lightbox="media/enterprise/how-to-enterprise-build-service/builder-list.png":::
64+
:::image type="content" source="media/enterprise/how-to-enterprise-build-service/builder-list.png" alt-text="Screenshot of Azure portal showing the Build Service page with list of configured builders." lightbox="media/enterprise/how-to-enterprise-build-service/builder-list.png":::
6765

6866
Select **Add** to create a new builder. The image below shows the resources you should use to create the custom builder.
6967

70-
:::image type="content" source="media/enterprise/how-to-enterprise-build-service/builder-create.png" alt-text="Screenshot of 'Add Builder' pane." lightbox="media/enterprise/how-to-enterprise-build-service/builder-create.png":::
68+
:::image type="content" source="media/enterprise/how-to-enterprise-build-service/builder-create.png" alt-text="Screenshot of Azure portal showing the Add Builder pane." lightbox="media/enterprise/how-to-enterprise-build-service/builder-create.png":::
7169

7270
You can also edit a custom builder when the builder isn't used in a deployment. You can update the buildpacks or the [OS Stack](https://docs.pivotal.io/tanzu-buildpacks/stacks.html), but the builder name is read only.
7371

74-
:::image type="content" source="media/enterprise/how-to-enterprise-build-service/builder-edit.png" alt-text="Screenshot of Azure portal showing Build Service page with builders list and context menu showing 'Edit Builder' command." lightbox="media/enterprise/how-to-enterprise-build-service/builder-edit.png":::
72+
:::image type="content" source="media/enterprise/how-to-enterprise-build-service/builder-edit.png" alt-text="Screenshot of Azure portal showing the Build Service page with builders list and context menu showing the Edit Builder command." lightbox="media/enterprise/how-to-enterprise-build-service/builder-edit.png":::
7573

7674
You can delete any custom builder when the builder isn't used in a deployment, but the `default` builder is read only.
7775

@@ -89,7 +87,7 @@ If the builder isn't specified, the `default` builder will be used. The builder
8987
You can also configure the build environment and build resources by using the following command:
9088

9189
```azurecli
92-
az spring-cloud app deploy \
90+
az spring app deploy \
9391
--name <app-name> \
9492
--build-env <key1=value1>, <key2=value2> \
9593
--build-cpu <build-cpu-size> \
@@ -100,7 +98,9 @@ az spring-cloud app deploy \
10098

10199
If you're using the `tanzu-buildpacks/java-azure` buildpack, we recommend that you set the `BP_JVM_VERSION` environment variable in the `build-env` argument.
102100

103-
When you use a custom builder in an app deployment, the builder can't make edits and deletions. If you want to change the configuration, create a new builder and use the new builder to deploy the app. After you deploy the app with the new builder, the deployment is linked to the new builder. You can then migrate the deployments under the previous builder to the new builder, and make edits and deletions.
101+
When you use a custom builder in an app deployment, the builder can't make edits and deletions. If you want to change the configuration, create a new builder. Use the new builder to deploy the app.
102+
103+
After you deploy the app with the new builder, the deployment is linked to the new builder. You can then migrate the deployments under the previous builder to the new builder, and make edits and deletions.
104104

105105
## Real-time build logs
106106

@@ -136,6 +136,23 @@ Currently, buildpack binding only supports binding the buildpacks listed below.
136136
- [ElasticAPM Partner Buildpack](https://docs.pivotal.io/tanzu-buildpacks/partner-integrations/partner-integration-buildpacks.html#elastic-apm).
137137
- [Elastic Configuration](https://www.elastic.co/guide/en/apm/agent/java/master/configuration.html).
138138

139+
Not all Tanzu Buildpacks support all service binding types. The following table shows the binding types that are supported by Tanzu Buildpacks and Tanzu Partner Buildpacks.
140+
141+
|Buildpack|ApplicationInsights|NewRelic|AppDynamics|Dynatrace|ElasticAPM|
142+
|---------|-------------------|--------|-----------|---------|----------|
143+
|Java ||||||
144+
|Dotnet||||||
145+
|Go ||||||
146+
|Python||||||
147+
|NodeJS||||||
148+
149+
To edit service bindings for the builder, select **Edit**. After a builder is bound to the service bindings, the service bindings are enabled for an app deployed with the builder.
150+
151+
:::image type="content" source="media/enterprise/how-to-enterprise-build-service/edit-binding.png" alt-text="Screenshot of Azure portal showing the Build Service page with the Edit binding link highlighted." lightbox="media/enterprise/how-to-enterprise-build-service/edit-binding.png":::
152+
153+
> [!NOTE]
154+
> When configuring environment variables for APM bindings, use key names without a prefix. For example, do not use a `DT_` prefix for a Dynatrace binding. Tanzu APM buildpacks will transform the key name to the original environment variable name with a prefix.
155+
139156
## Manage buildpack bindings
140157

141158
You can manage buildpack bindings with the Azure portal or the Azure CLI.
@@ -152,12 +169,28 @@ Follow these steps to view the current buildpack bindings:
152169
1. Open the [Azure portal](https://portal.azure.com/?AppPlatformExtension=entdf#home).
153170
1. Select **Build Service**.
154171
1. Select **Edit** under the **Bindings** column to view the bindings configured under a builder.
172+
173+
:::image type="content" source="media/enterprise/how-to-enterprise-build-service/edit-binding.png" alt-text="Screenshot of Azure portal showing the Build Service page with the Edit binding link highlighted." lightbox="media/enterprise/how-to-enterprise-build-service/edit-binding.png":::
174+
175+
:::image type="content" source="media/enterprise/how-to-enterprise-build-service/show-service-binding.png" alt-text="Screenshot of Azure portal showing the Edit bindings for default builder pane.":::
176+
177+
### Create a buildpack binding
178+
179+
To create a buildpack binding, select **Unbound** on the **Edit Bindings** page, specify binding properties, and then select **Save**.
155180

156181
### Unbind a buildpack binding
157182

158-
There are two ways to unbind a buildpack binding. You can either select the **Bound** hyperlink and then select **Unbind binding**, or select **Edit Binding** and then select **Unbind**.
183+
You can unbind a buildpack binding by using the **Unbind binding** command, or by editing binding properties.
184+
185+
To use the **Unbind binding** command, select the **Bound** hyperlink, and then select **Unbind binding**.
186+
187+
:::image type="content" source="media/enterprise/how-to-enterprise-build-service/unbind-binding-command.png" alt-text="Screenshot of Azure portal showing the Unbind binding command.":::
188+
189+
To unbind a buildpack binding by editing binding properties, select **Edit Binding**, and then select **Unbind**.
190+
191+
:::image type="content" source="media/enterprise/how-to-enterprise-build-service/unbind-binding-properties.png" alt-text="Screenshot of Azure portal showing binding properties.":::
159192

160-
If you unbind a binding, the bind status will change from **Bound** to **Unbound**.
193+
When you unbind a binding, the bind status changes from **Bound** to **Unbound**.
161194

162195
### [Azure CLI](#tab/azure-cli)
163196

48.9 KB
Loading
17.1 KB
Loading
20.6 KB
Loading
41.2 KB
Loading

0 commit comments

Comments
 (0)