Skip to content

Commit 74cdf5d

Browse files
Merge pull request #285678 from Descatles/wenhao/add-min-max-replica
Add max/min replica and delete preivew in title
2 parents f221a33 + f1045b5 commit 74cdf5d

File tree

7 files changed

+31
-10
lines changed

7 files changed

+31
-10
lines changed

articles/container-apps/java-admin-eureka-integration.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ az containerapp env java-component admin-for-spring create \
110110
--environment $ENVIRONMENT \
111111
--resource-group $RESOURCE_GROUP \
112112
--name $ADMIN_COMPONENT_NAME \
113+
--min-replicas 1 \
114+
--max-replicas 1 \
113115
--bind $EUREKA_COMPONENT_NAME
114116
```
115117

articles/container-apps/java-admin-for-spring-usage.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Configure settings for the Admin for Spring component in Azure Container Apps (preview)
2+
title: Configure settings for the Admin for Spring component in Azure Container Apps
33
description: Learn to configure the Admin for Spring component in Azure Container Apps.
44
services: container-apps
55
author: craigshoemaker
@@ -28,7 +28,7 @@ az containerapp env java-component admin-for-spring show \
2828

2929
## Update
3030

31-
You can update the configuration of an Admin for Spring component using the `update` command.
31+
You can update the replica count and configuration of an Admin for Spring component using the `update` command.
3232

3333
Before you run the following command, replace placeholders surrounded by `<>` with your values. Supported configurations are listed in the [properties list table](#configurable-properties).
3434

@@ -37,6 +37,8 @@ az containerapp env java-component admin-for-spring update \
3737
--environment <ENVIRONMENT_NAME> \
3838
--resource-group <RESOURCE_GROUP> \
3939
--name <JAVA_COMPONENT_NAME> \
40+
--min-replicas <REPLICA_COUNT> \
41+
--max-replicas <REPLICA_COUNT> \
4042
--configuration <CONFIGURATION_KEY>="<CONFIGURATION_VALUE>"
4143
```
4244

articles/container-apps/java-admin.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,20 @@ Now that you have an existing environment, you can create your container app and
106106
az containerapp env java-component admin-for-spring create \
107107
--environment $ENVIRONMENT \
108108
--resource-group $RESOURCE_GROUP \
109-
--name $JAVA_COMPONENT_NAME
109+
--name $JAVA_COMPONENT_NAME \
110+
--min-replicas 1 \
111+
--max-replicas 1
112+
```
113+
114+
1. Update the Admin for Spring Java component.
115+
116+
```azurecli
117+
az containerapp env java-component admin-for-spring create \
118+
--environment $ENVIRONMENT \
119+
--resource-group $RESOURCE_GROUP \
120+
--name $JAVA_COMPONENT_NAME \
121+
--min-replicas 2 \
122+
--max-replicas 2
110123
```
111124

112125
1. Create the container app and bind to the Admin for Spring.

articles/container-apps/java-config-server-usage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Configure settings for the Config Server for Spring component in Azure Container Apps (preview)
2+
title: Configure settings for the Config Server for Spring component in Azure Container Apps
33
description: Learn how to configure a Config Server for Spring component for your container app.
44
services: container-apps
55
author: craigshoemaker
@@ -10,7 +10,7 @@ ms.date: 05/23/2024
1010
ms.author: cshoe
1111
---
1212

13-
# Configure settings for the Config Server for Spring component in Azure Container Apps (preview)
13+
# Configure settings for the Config Server for Spring component in Azure Container Apps
1414

1515
Config Server for Spring provides a centralized location to make configuration data available to multiple applications. Use the following guidance to learn how to configure and manage your Config Server for Spring component.
1616

articles/container-apps/java-config-server.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Tutorial: Connect to a managed Config Server for Spring in Azure Container Apps (preview)"
2+
title: "Tutorial: Connect to a managed Config Server for Spring in Azure Container Apps"
33
description: Learn how to connect a Config Server for Spring to your container app.
44
services: container-apps
55
author: craigshoemaker
@@ -10,7 +10,7 @@ ms.date: 08/13/2024
1010
ms.author: cshoe
1111
---
1212

13-
# Tutorial: Connect to a managed Config Server for Spring in Azure Container Apps (preview)
13+
# Tutorial: Connect to a managed Config Server for Spring in Azure Container Apps
1414

1515
Config Server for Spring provides a centralized location to make configuration data available to multiple applications. In this article, you learn to connect an app hosted in Azure Container Apps to a Java Config Server for Spring instance.
1616

@@ -166,6 +166,8 @@ Now that you have a Container Apps environment, you can create your container ap
166166
--environment $ENVIRONMENT \
167167
--resource-group $RESOURCE_GROUP \
168168
--name $JAVA_COMPONENT_NAME \
169+
--min-replicas 1 \
170+
--max-replicas 1 \
169171
--configuration spring.cloud.config.server.git.uri=$URI
170172
```
171173
@@ -176,6 +178,8 @@ Now that you have a Container Apps environment, you can create your container ap
176178
--environment $ENVIRONMENT \
177179
--resource-group $RESOURCE_GROUP \
178180
--name $JAVA_COMPONENT_NAME \
181+
--min-replicas 2 \
182+
--max-replicas 2 \
179183
--configuration spring.cloud.config.server.git.uri=$URI spring.cloud.config.server.git.refresh-rate=60
180184
```
181185

articles/container-apps/java-eureka-server-usage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Configure settings for the Eureka Server for Spring component in Azure Container Apps (preview)
2+
title: Configure settings for the Eureka Server for Spring component in Azure Container Apps
33
description: Learn to configure the Eureka Server for Spring component in Azure Container Apps.
44
services: container-apps
55
author: craigshoemaker
@@ -9,7 +9,7 @@ ms.date: 03/15/2024
99
ms.author: cshoe
1010
---
1111

12-
# Configure settings for the Eureka Server for Spring component in Azure Container Apps (preview)
12+
# Configure settings for the Eureka Server for Spring component in Azure Container Apps
1313

1414
Eureka Server for Spring is mechanism for centralized service discovery for microservices. Use the following guidance to learn how to configure and manage your Eureka Server for Spring component.
1515

articles/container-apps/java-eureka-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.date: 08/14/2024
1010
ms.author: cshoe
1111
---
1212

13-
# Tutorial: Connect to a managed Eureka Server for Spring in Azure Container Apps (preview)
13+
# Tutorial: Connect to a managed Eureka Server for Spring in Azure Container Apps
1414

1515
Eureka Server for Spring is a service registry that allows microservices to register themselves and discover other services. Available as an Azure Container Apps component, you can bind your container app to a Eureka Server for Spring for automatic registration with the Eureka server.
1616

0 commit comments

Comments
 (0)