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: docs/aks/README-AKS.md
+3-24Lines changed: 3 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -193,28 +193,8 @@ azd env set AZURE_SEARCH_SERVICE_LOCATION "eastus2" # Region of the ACS service
193
193
azd up
194
194
```
195
195
196
-
### Running locally
197
-
198
-
1. Run
199
-
200
-
```shell
201
-
az login
202
-
```
203
-
204
-
2. Change dir to `app`
205
-
206
-
```shell
207
-
cd app
208
-
```
209
-
210
-
3. Run the `./start.ps1` (Windows) or `./start.sh` (Linux/Mac) scripts or run the "VS Code Task: Start App" to start the project locally.
211
-
4. Wait for the docker compose to start all the containers (web, api, indexer) and refresh your browser to [http://localhost](http://localhost)
212
-
213
196
### UI Navigation
214
197
215
-
- In Azure: navigate to the Web App deployed by azd. The URL is printed out when azd completes (as "Endpoint"), or you can find it in the Azure portal.
216
-
- Running locally: navigate to localhost:8080
217
-
218
198
Once in the web app:
219
199
220
200
- Try different topics in chat or Q&A context. For chat, try follow-up questions, clarifications, ask to simplify or elaborate on answer, etc.
@@ -236,11 +216,11 @@ If you want to chat with your custom documents you can:
236
216
237
217
### Enabling Application Insights
238
218
239
-
Applications Insights is enabled by default. It allows to investigate each request tracing along with the logging of errors.
219
+
Applications Insights is disabled by default. It allows to investigate each request tracing along with the logging of errors.
240
220
241
221
If you want to disable it set the `AZURE_USE_APPLICATION_INSIGHTS` variable to false before running `azd up`
242
222
243
-
1. Run `azd env set AZURE_USE_APPLICATION_INSIGHTS false`
223
+
1. Run `azd env set AZURE_USE_APPLICATION_INSIGHTS true`
244
224
1. Run `azd up`
245
225
246
226
To see the performance data, go to the Application Insights resource in your resource group, click on the "Investigate -> Performance" blade and navigate to any HTTP request to see the timing data.
@@ -257,8 +237,7 @@ To see any exceptions and server errors, navigate to the "Investigate -> Failure
257
237
azd env set AZURE_USE_EASY_AUTH true
258
238
```
259
239
260
-
By default, the deployed apps on AKS will have no authentication or access restrictions enabled, meaning anyone with routable network access to the web app can chat with your indexed data.You can require authentication to your Microsoft Entra by following the [Add app authentication](https://learn.microsoft.com/en-us/azure/container-apps/authentication) tutorial and set it up against the deployed web and api apps.
261
-
Furthermore in order to let Web app to access the Api app be sure to configure native client access with [user_impersonation ](https://learn.microsoft.com/en-us/azure/container-apps/authentication-azure-active-directory#native-client-application)
240
+
By default, the deployed apps on AKS will have no authentication or access restrictions enabled, meaning anyone with routable network access to the web app can chat with your indexed data. If you enable easy authentication the deployment will use a script based on [EasyAuthForK8s](https://github.com/Azure/EasyAuthForK8s) and using [Cert Manager](https://cert-manager.io/) to manage easy authentication for you using Microsoft Entra.
262
241
263
242
To then limit access to a specific set of users or groups, you can follow the steps from [Restrict your Microsoft Entra app to a set of users](https://learn.microsoft.com/entra/identity-platform/howto-restrict-your-app-to-a-set-of-users) by changing "Assignment Required?" option under the Enterprise Application, and then assigning users/groups access. Users not granted explicit access will receive the error message -AADSTS50105: Your administrator has configured the application <app_name> to block users
0 commit comments