You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/container-apps/java-config-server.md
+18-48Lines changed: 18 additions & 48 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,45 +102,20 @@ Execute the following commands to create your resource group and Container Apps
102
102
103
103
Follow the following steps to create the resource group, client container app and container apps environment.
104
104
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.
116
107
117
108
:::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":::
118
109
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.
128
111
129
112
:::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":::
130
113
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**
140
115
141
116
:::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":::
142
117
143
-
1. Click *Create* after validation passed
118
+
5. Click **Create** after validation passed
144
119
145
120
---
146
121
@@ -176,24 +151,19 @@ Now that you have a Container Apps environment, you can create your container ap
176
151
177
152
Now that you have an existing environment and config server client container app, create a Java component instance of Config Server for Spring.
178
153
179
-
1. Go to your container app environment page, select*Service* on the left panel, and thenselect*Configure*,*Java component*
154
+
1. Go to your container app environment page, select**Service** on the left panel, and thenselect**Configure**,**Java component**
180
155
181
156
:::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":::
182
157
183
-
1. In new *Configure Java component* panel, selector enter the following values and leave others be the default, and thenselect*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, selector enter the following values and leave others be the default, and thenselect**Next**
189
159
190
160
:::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":::
191
161
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**
193
163
194
164
:::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":::
195
165
196
-
2. Click *Configure* on *Review* page
166
+
4. Click **Configure** on **Review** page
197
167
---
198
168
199
169
## 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
233
203
234
204
### [Azure portal](#tab/azure-portal)
235
205
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, selectapp*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, selectapp**my-config-client**, Click **Next**
209
+
4. Click Click **Configure** on **Review** page
240
210
241
211
:::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":::
242
212
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
244
214
---
245
215
246
216
@@ -273,10 +243,10 @@ You can also remove a binding from your application.
273
243
--resource-group $RESOURCE_GROUP
274
244
```
275
245
### [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, selectapp*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, selectapp**my-config-client**, Click **Next**
249
+
4. Click **Configure** on **Review** page
280
250
281
251
:::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":::
Copy file name to clipboardExpand all lines: articles/container-apps/java-eureka-server.md
+8-37Lines changed: 8 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,42 +98,17 @@ Follow the following steps to create the resource group, client container app an
98
98
1. Search for**Container Apps**in the Azure portal and select**Create**
99
99
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.
100
100
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
-
110
101
:::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":::
111
102
112
-
1. In **Container** tab, selector 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, selector enter the following values and leave others be the default.
121
104
122
105
:::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":::
123
106
124
-
1. In Ingress tab, selector 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, selector enter the following values and leave others be the default, then click **Review + create**
133
108
134
109
:::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":::
135
110
136
-
1. Click **Create** after validation passed
111
+
5. Click **Create** after validation passed
137
112
138
113
---
139
114
@@ -170,16 +145,12 @@ Now that you have an existing environment and eureka client container app, creat
170
145
171
146
:::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":::
172
147
173
-
1. In new **Configure Java component** panel, selector enter the following values and leave others be the default, and thenselect**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, selector enter the following values and leave others be the default, and thenselect**Next**
179
149
180
150
:::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":::
181
151
182
-
1. Click **Configure** on **Review** page
152
+
3. Click **Configure** on **Review** page
153
+
183
154
---
184
155
185
156
## 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
204
175
1. Go to your container app environment page, select**Service** on the left panel
205
176
2. Select **eureka**in Service list
206
177
3. Under bindings, selectapp**sample-service-eureka-client**, Click **Next**
207
-
4. Click **Configure**
178
+
4. Click **Configure** on **Review** page
208
179
209
180
:::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":::
210
181
@@ -243,7 +214,7 @@ To remove a binding from a container app, use the `--unbind` option.
243
214
1. Go to your container app environment page, select**Service** on the left panel
244
215
2. Select **eureka**in Service list
245
216
3. Under bindings, selectDelete after app **sample-service-eureka-client**, Click **Next**
246
-
4. Click **Configure**
217
+
4. Click **Configure** on **Review** page
247
218
248
219
:::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":::
0 commit comments