Skip to content

Commit 60be13a

Browse files
authored
Merge pull request #230334 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-docs (branch main)
2 parents 4520a2d + 4256aa3 commit 60be13a

File tree

12 files changed

+44
-15
lines changed

12 files changed

+44
-15
lines changed

articles/aks/cluster-configuration.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,8 @@ Mariner can be deployed on AKS through Azure CLI or ARM templates.
130130

131131
### Prerequisites
132132

133-
1. You need the latest version of Azure CLI. Run `az --version` to find the version. If you need to install or upgrade, see [Install Azure CLI][azure-cli-install].
134-
2. You need the `aks-preview` Azure CLI extension for the ability to select the Mariner 2.0 operating system SKU. Run `az extension remove --name aks-preview` to clear any previous versions, then run `az extension add --name aks-preview`.
135-
3. If you don't already have kubectl installed, install it through Azure CLI using `az aks install-cli` or follow the [upstream instructions](https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/).
133+
1. You need the Azure CLI version 2.44.1 or later installed and configured. Run `az --version` to find the version currently installed. If you need to install or upgrade, see [Install Azure CLI][azure-cli-install].
134+
1. If you don't already have kubectl installed, install it through Azure CLI using `az aks install-cli` or follow the [upstream instructions](https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/).
136135

137136
### Deploy an AKS Mariner cluster with Azure CLI
138137

@@ -141,7 +140,7 @@ Use the following example commands to create a Mariner cluster.
141140
```azurecli
142141
az group create --name MarinerTest --location eastus
143142
144-
az aks create --name testMarinerCluster --resource-group MarinerTest --os-sku mariner
143+
az aks create --name testMarinerCluster --resource-group MarinerTest --os-sku mariner --generate-ssh-keys
145144
146145
az aks get-credentials --resource-group MarinerTest --name testMarinerCluster
147146
@@ -150,9 +149,14 @@ kubectl get pods --all-namespaces
150149

151150
### Deploy an AKS Mariner cluster with an ARM template
152151

153-
To add Mariner to an existing ARM template, you need to add `"osSKU": "mariner"` and `"mode": "System"` to `agentPoolProfiles` and set the apiVersion to 2021-03-01 or newer (`"apiVersion": "2021-03-01"`). The following deployment uses the ARM template "marineraksarm.yml".
152+
To add Mariner to an existing ARM template, you need to do the following:
154153

155-
```yml
154+
- Add `"osSKU": "mariner"` and `"mode": "System"` to agentPoolProfiles property.
155+
- Set the apiVersion to 2021-03-01 or newer: `"apiVersion": "2021-03-01"`
156+
157+
The following deployment uses the ARM template `marineraksarm.json`.
158+
159+
```json
156160
{
157161
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
158162
"contentVersion": "1.0.0.1",
@@ -173,6 +177,7 @@ To add Mariner to an existing ARM template, you need to add `"osSKU": "mariner"`
173177
},
174178
"dnsPrefix": {
175179
"type": "string",
180+
"defaultValue": "mariner",
176181
"metadata": {
177182
"description": "Optional DNS prefix to use with hosted Kubernetes API server FQDN."
178183
}
@@ -281,12 +286,12 @@ To add Mariner to an existing ARM template, you need to add `"osSKU": "mariner"`
281286
}
282287
```
283288

284-
Create this file on your system and fill it with the contents of the Mariner AKS YAML file.
289+
Create this file on your system and include the settings defined in the `marineraksarm.json` file.
285290

286291
```azurecli
287292
az group create --name MarinerTest --location eastus
288293
289-
az deployment group create --resource-group MarinerTest --template-file marineraksarm.yml --parameters clusterName=testMarinerCluster dnsPrefix=marineraks1 linuxAdminUsername=azureuser sshRSAPublicKey=`<contents of your id_rsa.pub>`
294+
az deployment group create --resource-group MarinerTest --template-file marineraksarm.json --parameters linuxAdminUsername=azureuser sshRSAPublicKey=`<contents of your id_rsa.pub>`
290295
291296
az aks get-credentials --resource-group MarinerTest --name testMarinerCluster
292297

articles/aks/learn/quick-kubernetes-deploy-bicep.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ For more AKS samples, see the [AKS quickstart templates][aks-quickstart-template
7777

7878
```azurecli
7979
az group create --name myResourceGroup --location eastus
80-
az deployment group create --resource-group myResourceGroup --template-file main.bicep --parameters clusterName=<cluster-name> dnsPrefix=<dns-previs> linuxAdminUsername=<linux-admin-username> sshRSAPublicKey='<ssh-key>'
80+
az deployment group create --resource-group myResourceGroup --template-file main.bicep --parameters clusterName=<cluster-name> dnsPrefix=<dns-prefix> linuxAdminUsername=<linux-admin-username> sshRSAPublicKey='<ssh-key>'
8181
```
8282

8383
# [PowerShell](#tab/PowerShell)

articles/aks/node-updates-kured.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ helm repo update
6666
kubectl create namespace kured
6767

6868
# Install kured in that namespace with Helm 3 (only on Linux nodes, kured is not working on Windows nodes)
69-
helm install my-release kubereboot/kured --namespace kured --set nodeSelector."kubernetes\.io/os"=linux
69+
helm install my-release kubereboot/kured --namespace kured --set controller.nodeSelector."kubernetes\.io/os"=linux
7070
```
7171

7272
You can also configure additional parameters for `kured`, such as integration with Prometheus or Slack. For more information about additional configuration parameters, see the [kured Helm chart][kured-install].

articles/azure-fluid-relay/how-tos/azure-function-token-provider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ TokenProviders can be implemented in many ways, but must implement two separate
197197

198198
To ensure that the tenant secret key is kept secure, it's stored in a secure backend location and is only accessible from within the Azure Function. To retrieve tokens, you need to make a `GET` or `POST` request to your deployed Azure Function, providing the `tenantID` and `documentId`, and `userID`/`userName`. The Azure Function is responsible for the mapping between the tenant ID and a tenant key secret to appropriately generate and sign the token.
199199

200-
The example implementation below handles making these requests to your Azure Function. It uses the [axios](https://www.npmjs.com/package/axios) library to make HTTP requests. You can use other libraries or approaches to making an HTTP request from server code.
200+
The example implementation below handles making these requests to your Azure Function. It uses the [axios](https://www.npmjs.com/package/axios) library to make HTTP requests. You can use other libraries or approaches to making an HTTP request from server code. This specific implementation is also provided for you as an export from the `@fluidframework/azure-client` package.
201201

202202
```typescript
203203
import { ITokenProvider, ITokenResponse } from "@fluidframework/routerlicious-driver";

articles/azure-fluid-relay/quickstarts/quickstart-dice-roll.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ const serviceConfig = {
7373
```
7474

7575
> [!WARNING]
76-
> During development, you can use `InsecureTokenProvider` to generate and sign authentication tokens that the Azure Fluid Relay service will accept. However, as the name implies, this is insecure and should not be used in production environments. The Azure Fluid Relay resource creation process provides you with a secret key which can be used to sign secure requests. **To ensure that this secret doesn't get exposed, this should be replaced with another implementation of ITokenProvider that fetches the token from a secure, developer-provided backend service prior to releasing to production.** An example implementation is [AzureFunctionTokenProvider](https://fluidframework.com/docs/apis/azure-client/azurefunctiontokenprovider-class). For more information, see [How to: Write a TokenProvider with an Azure Function](../how-tos/azure-function-token-provider.md).
76+
> During development, you can use `InsecureTokenProvider` to generate and sign authentication tokens that the Azure Fluid Relay service will accept. However, as the name implies, this is insecure and should not be used in production environments. The Azure Fluid Relay resource creation process provides you with a secret key which can be used to sign secure requests. **To ensure that this secret doesn't get exposed, this should be replaced with another implementation of ITokenProvider that fetches the token from a secure, developer-provided backend service prior to releasing to production.**
77+
>
78+
> One secure approach is outlined in ["How to: Write a TokenProvider with an Azure Function"](../how-tos/azure-function-token-provider.md).
7779
7880
### Build and run the client only
7981

articles/azure-signalr/signalr-quickstart-azure-functions-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ This quickstart can be run on macOS, Windows, or Linux.
6969
{
7070
"type": "http",
7171
"direction": "out",
72-
"name": "res"
72+
"name": "$return"
7373
}
7474
]
7575
}

articles/cognitive-services/openai/how-to/prepare-dataset.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ The first step of customizing your model is to prepare a high quality dataset. T
2424
- Each completion should start with a whitespace due to our tokenization, which tokenizes most words with a preceding whitespace.
2525
- Each completion should end with a fixed stop sequence to inform the model when the completion ends. A stop sequence could be `\n`, `###`, or any other token that doesn't appear in any completion.
2626
- For inference, you should format your prompts in the same way as you did when creating the training dataset, including the same separator. Also specify the same stop sequence to properly truncate the completion.
27+
- The dataset cannot exceed 100 Mb in total file size.
2728

2829
## Best practices
2930

articles/container-instances/container-instances-application-gateway.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ az network application-gateway create \
120120
--vnet-name myVNet \
121121
--subnet myAGSubnet \
122122
--servers "$ACI_IP"
123+
--priority 100
123124
```
124125

125126

articles/sap/center-sap-solutions/deploy-s4hana.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ In this how-to guide, you'll learn how to deploy S/4HANA infrastructure in *Azur
2626
- A **User-assigned managed identity** which has Contributor role access on the Subscription or atleast all resource groups (Compute, Network,Storage). If you wish to install SAP Software through the Azure Center for SAP solutions, also provide Storage Blob data Reader, Reader and Data Access roles to the identity on SAP bits storage account where you would store the SAP Media.
2727
- A [network set up for your infrastructure deployment](prepare-network.md).
2828
- Availability of either Standard_D4ds_v4 or Standard_E4s_v3 SKUS which will be used for "Deployer VM".
29+
- [Review the quotas for your Azure subscription](../../quotas/view-quotas.md). If the quotas are low, you might need to create a support request before creating your infrastructure deployment. Otherwise, you might experience deployment failures or an **Insufficient quota** error.
30+
- Note the SAP Application Performance Standard (SAPS) and database memory size that you need to allow Azure Center for SAP solutions to size your SAP system. If you're not sure, you can also select the VMs. There are:
31+
- A single or cluster of ASCS VMs, which make up a single ASCS instance in the VIS.
32+
- A single or cluster of Database VMs, which make up a single Database instance in the VIS.
33+
- A single Application Server VM, which makes up a single Application instance in the VIS. Depending on the number of Application Servers being deployed or registered, there can be multiple application instances.
34+
2935

3036
## Deployment types
3137

articles/static-web-apps/deploy-nextjs-hybrid.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,18 @@ Once the workflow is complete, you can refresh the browser to view your web app.
111111

112112
Now any changes made to the `main` branch starts a new build and deployment of your website.
113113

114+
115+
>[!NOTE]
116+
>If you have trouble deploying a Next.js Hybrid application with more than 100Mb app size, use the `standalone` feature of Next.js. Refer to the [standalone](#enable-standalone-feature) section for more information.
117+
118+
114119
### Sync changes
115120

116121
When you created the app, Azure Static Web Apps created a GitHub Actions file in your repository. Synchronize with the server by pulling down the latest to your local repository.
117122

118123
Return to the terminal and run the following command `git pull origin main`.
119124

125+
120126
## Add Server-Rendered data
121127

122128
To insert data server-rendered data to a Next.js page, you need to first export a special function.

0 commit comments

Comments
 (0)