Skip to content

Commit 807b755

Browse files
author
Wenhao Zhang
committed
Update format
1 parent 903fff7 commit 807b755

File tree

2 files changed

+26
-85
lines changed

2 files changed

+26
-85
lines changed

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

Lines changed: 18 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -102,45 +102,20 @@ Execute the following commands to create your resource group and Container Apps
102102
103103
Follow the following steps to create the resource group, client container app and container apps environment.
104104
105-
1. Search for *Container Apps* in the Azure portal and select *Create*
106-
2. Enter the following values to *Basics* tab. You need to select *Create new* in *Resource group* and *Container Apps Environment* to create the new resource.
107-
108-
| Setting | Value |
109-
|---|---|
110-
| Subscription | *Your own subscription* |
111-
| Resource group | *my-services-resource-group* |
112-
| Container app name | *my-config-client* |
113-
| Deployment source | *Container image* |
114-
| Region | *East US* |
115-
| Container Apps Environment | *my-environment* |
105+
1. Search for **Container Apps** in the Azure portal and select **Create**
106+
2. Enter the following values to **Basics** tab. You need to select **Create new** in **Resource group** and **Container Apps Environment** to create the new resource.
116107
117108
:::image type="content" source="media/java-components/create-containerapp-config.png" alt-text="Screenshot of create container apps." lightbox="media/java-components/create-containerapp-config.png":::
118109
119-
1. In Container tab, select or enter the following values and leave others be the default.
120-
121-
| Setting | Value |
122-
|---|---|
123-
| Name | *my-config-client* |
124-
| Image source | *Docker Hub or other registeries* |
125-
| Image type | *Public* |
126-
| Registry login server | *mcr.microsoft.com* |
127-
| Image and tag | *javacomponents/samples/sample-service-config-client:latest* |
110+
3. In Container tab, select or enter the following values and leave others be the default.
128111
129112
:::image type="content" source="media/java-components/select-config-image.png" alt-text="Screenshot of select image when create container apps." lightbox="media/java-components/select-config-image.png":::
130113
131-
1. In Ingress tab, select or enter the following values and leave others be the default, then click *Review + create*
132-
133-
| Setting | Value |
134-
|---|---|
135-
| Ingress | *Enabled* |
136-
| Ingress traffic | *Accepting traffic from anywhere* |
137-
| Ingress type | *HTTP* |
138-
| Transport | *Auto* |
139-
| Target port | *8080* |
114+
4. In Ingress tab, select or enter the following values and leave others be the default, then click **Review + create**
140115
141116
:::image type="content" source="media/java-components/config-ingress.png" alt-text="Screenshot of config ingress when create container apps." lightbox="media/java-components/config-ingress.png":::
142117
143-
1. Click *Create* after validation passed
118+
5. Click **Create** after validation passed
144119
145120
---
146121
@@ -176,24 +151,19 @@ Now that you have a Container Apps environment, you can create your container ap
176151

177152
Now that you have an existing environment and config server client container app, create a Java component instance of Config Server for Spring.
178153

179-
1. Go to your container app environment page, select *Service* on the left panel, and then select *Configure*, *Java component*
154+
1. Go to your container app environment page, select **Service** on the left panel, and then select **Configure**, **Java component**
180155

181156
:::image type="content" source="media/java-components/select-java-component.png" alt-text="Screenshot of how to select Java component." lightbox="media/java-components/select-java-component.png":::
182157

183-
1. In new *Configure Java component* panel, select or enter the following values and leave others be the default, and then select *Next*
184-
185-
| Setting | Value |
186-
|---|---|
187-
| Java component type | *Config Server for Spring* |
188-
| Java component name | *configserver* |
158+
2. In new **Configure Java component** panel, select or enter the following values and leave others be the default, and then select **Next**
189159

190160
:::image type="content" source="media/java-components/create-config-server-java-component.png" alt-text="Screenshot of how to create Config Server Java component." lightbox="media/java-components/create-config-server-java-component.png":::
191161

192-
1. Select *Add* under *Git repositories*, Enter *URI* value *https://github.com/Azure-Samples/azure-spring-cloud-config-java-aca.git* under Add Git repository, select *Add*
162+
3. Select **Add** under **Git repositories**, Enter **URI** value `https://github.com/Azure-Samples/azure-spring-cloud-config-java-aca.git` under Add Git repository, select **Add**
193163

194164
:::image type="content" source="media/java-components/configure-git-uri.png" alt-text="Screenshot of how to configure config server git uri." lightbox="media/java-components/configure-git-uri.png":::
195165

196-
2. Click *Configure* on *Review* page
166+
4. Click **Configure** on **Review** page
197167
---
198168

199169
## Bind your container app to the Config Server for Spring Java component
@@ -233,14 +203,14 @@ Now that you have an existing environment and config server client container app
233203

234204
### [Azure portal](#tab/azure-portal)
235205

236-
1. Go to your container app environment page, select *Service* on the left panel
237-
2. Select *configserver* in Service list
238-
3. Under bindings, select app *my-config-client*, Click *Next*
239-
4. Click *Configure*
206+
1. Go to your container app environment page, select **Service** on the left panel
207+
2. Select **configserver** in Service list
208+
3. Under bindings, select app **my-config-client**, Click **Next**
209+
4. Click Click **Configure** on **Review** page
240210

241211
:::image type="content" source="media/java-components/app-bind-configserver.png" alt-text="Screenshot of container app bind with config server." lightbox="media/java-components/app-bind-configserver.png":::
242212

243-
5. Go to your container app *my-config-client* page, get the *Application URL* of the container app
213+
5. Go to your container app **my-config-client** page, get the **Application URL** of the container app
244214
---
245215

246216

@@ -273,10 +243,10 @@ You can also remove a binding from your application.
273243
--resource-group $RESOURCE_GROUP
274244
```
275245
### [Azure portal](#tab/azure-portal)
276-
1. Go to your container app environment page, select *Service* on the left panel
277-
2. Select *configserver* in Service list
278-
3. Under bindings, select app *my-config-client*, Click *Next*
279-
4. Click *Configure*
246+
1. Go to your container app environment page, **Service** on the left panel
247+
2. Select **configserver** in Service list
248+
3. Under bindings, select app **my-config-client**, Click **Next**
249+
4. Click **Configure** on **Review** page
280250

281251
:::image type="content" source="media/java-components/app-unbind-configserver.png" alt-text="Screenshot of container app unbind with config server." lightbox="media/java-components/app-unbind-configserver.png":::
282252
---

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

Lines changed: 8 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -98,42 +98,17 @@ Follow the following steps to create the resource group, client container app an
9898
1. Search for **Container Apps** in the Azure portal and select **Create**
9999
2. Enter the following values to **Basics** tab. You need to select **Create new** in **Resource group** and **Container Apps Environment** to create the new resource.
100100

101-
| Setting | Value |
102-
|---|---|
103-
| Subscription | Your own subscription |
104-
| Resource group | my-services-resource-group |
105-
| Container app name | sample-service-eureka-client |
106-
| Deployment source | Container image |
107-
| Region | East US |
108-
| Container Apps Environment | my-environment |
109-
110101
:::image type="content" source="media/java-components/create-containerapp-eureka.png" alt-text="Screenshot of create container apps." lightbox="media/java-components/create-containerapp-eureka.png":::
111102

112-
1. In **Container** tab, select or enter the following values and leave others be the default.
113-
114-
| Setting | Value |
115-
|---|---|
116-
| Name | sample-service-eureka-client |
117-
| Image source | Docker Hub or other registeries |
118-
| Image type | Public |
119-
| Registry login server | mcr.microsoft.com |
120-
| Image and tag | javacomponents/samples/sample-service-eureka-client:latest |
103+
3. In **Container** tab, select or enter the following values and leave others be the default.
121104

122105
:::image type="content" source="media/java-components/select-eureka-image.png" alt-text="Screenshot of select image when create container apps." lightbox="media/java-components/select-eureka-image.png":::
123106

124-
1. In Ingress tab, select or enter the following values and leave others be the default, then click **Review + create**
125-
126-
| Setting | Value |
127-
|---|---|
128-
| Ingress | Enabled |
129-
| Ingress traffic | Accepting traffic from anywhere |
130-
| Ingress type | HTTP |
131-
| Transport | Auto |
132-
| Target port | 8080 |
107+
4. In Ingress tab, select or enter the following values and leave others be the default, then click **Review + create**
133108

134109
:::image type="content" source="media/java-components/config-ingress.png" alt-text="Screenshot of config ingress when create container apps." lightbox="media/java-components/config-ingress.png":::
135110

136-
1. Click **Create** after validation passed
111+
5. Click **Create** after validation passed
137112

138113
---
139114

@@ -170,16 +145,12 @@ Now that you have an existing environment and eureka client container app, creat
170145

171146
:::image type="content" source="media/java-components/select-java-component.png" alt-text="Screenshot of how to select Java component." lightbox="media/java-components/select-java-component.png":::
172147

173-
1. In new **Configure Java component** panel, select or enter the following values and leave others be the default, and then select **Next**
174-
175-
| Setting | Value |
176-
|---|---|
177-
| Java component type | Eureka Server for Spring |
178-
| Java component name | eureka |
148+
2. In new **Configure Java component** panel, select or enter the following values and leave others be the default, and then select **Next**
179149

180150
:::image type="content" source="media/java-components/create-eureka-java-component.png" alt-text="Screenshot of how to create Eureka Java component." lightbox="media/java-components/create-eureka-java-component.png":::
181151

182-
1. Click **Configure** on **Review** page
152+
3. Click **Configure** on **Review** page
153+
183154
---
184155

185156
## Bind your container app to the Eureka Server for Spring Java component
@@ -204,7 +175,7 @@ Now that you have an existing environment and eureka client container app, creat
204175
1. Go to your container app environment page, select **Service** on the left panel
205176
2. Select **eureka** in Service list
206177
3. Under bindings, select app **sample-service-eureka-client**, Click **Next**
207-
4. Click **Configure**
178+
4. Click **Configure** on **Review** page
208179

209180
:::image type="content" source="media/java-components/app-bind-eureka.png" alt-text="Screenshot of container app bind with eureka." lightbox="media/java-components/app-bind-eureka.png":::
210181

@@ -243,7 +214,7 @@ To remove a binding from a container app, use the `--unbind` option.
243214
1. Go to your container app environment page, select **Service** on the left panel
244215
2. Select **eureka** in Service list
245216
3. Under bindings, select Delete after app **sample-service-eureka-client**, Click **Next**
246-
4. Click **Configure**
217+
4. Click **Configure** on **Review** page
247218

248219
:::image type="content" source="media/java-components/app-unbind-eureka.png" alt-text="Screenshot of container app unbind with eureka." lightbox="media/java-components/app-unbind-eureka.png":::
249220

0 commit comments

Comments
 (0)