Skip to content

Commit 321c0af

Browse files
authored
Merge pull request #260176 from MicrosoftDocs/main
12/4/2023 AM Publish
2 parents 87a366b + 95805e2 commit 321c0af

File tree

70 files changed

+1041
-521
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+1041
-521
lines changed

articles/ai-services/openai/how-to/switching-endpoints.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ client = AzureOpenAI(
5252
api_key=os.getenv("AZURE_OPENAI_KEY"),
5353
api_version="2023-10-01-preview",
5454
azure_endpoint = os.getenv("AZURE_OPENAI_ENDPOINT")
55-
)
55+
)
5656
```
5757

5858
</td>

articles/aks/concepts-clusters-workloads.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Concepts - Kubernetes basics for Azure Kubernetes Services (AKS)
33
description: Learn the basic cluster and workload components of Kubernetes and how they relate to features in Azure Kubernetes Service (AKS)
44
ms.topic: conceptual
55
ms.custom: build-2023
6-
ms.date: 10/31/2022
6+
ms.date: 12/04/2023
77
---
88

99
# Kubernetes core concepts for Azure Kubernetes Service (AKS)
@@ -71,7 +71,7 @@ To run your applications and supporting services, you need a Kubernetes *node*.
7171
| ----------------- | ------------- |
7272
| `kubelet` | The Kubernetes agent that processes the orchestration requests from the control plane along with scheduling and running the requested containers. |
7373
| *kube-proxy* | Handles virtual networking on each node. The proxy routes network traffic and manages IP addressing for services and pods. |
74-
| *container runtime* | Allows containerized applications to run and interact with additional resources, such as the virtual network and storage. AKS clusters using Kubernetes version 1.19+ for Linux node pools use `containerd` as their container runtime. Beginning in Kubernetes version 1.20 for Windows node pools, `containerd` can be used in preview for the container runtime, but Docker is still the default container runtime. AKS clusters using prior versions of Kubernetes for node pools use Docker as their container runtime. |
74+
| *container runtime* | Allows containerized applications to run and interact with additional resources, such as the virtual network or storage. AKS clusters using Kubernetes version 1.19+ for Linux node pools use `containerd` as their container runtime. Beginning in Kubernetes version 1.20 for Windows node pools, `containerd` can be used in preview for the container runtime, but Docker is still the default container runtime. AKS clusters using prior versions of Kubernetes for node pools use Docker as their container runtime. |
7575

7676
![Azure virtual machine and supporting resources for a Kubernetes node](media/concepts-clusters-workloads/aks-node-resource-interactions.png)
7777

@@ -323,7 +323,7 @@ Using the Kubernetes Scheduler, the Deployment Controller runs replicas on any a
323323

324324
Two Kubernetes resources, however, let you manage these types of applications:
325325

326-
- *StatefulSets* maintain the state of applications beyond an individual pod lifecycle, such as storage.
326+
- *StatefulSets* maintain the state of applications beyond an individual pod lifecycle.
327327
- *DaemonSets* ensure a running instance on each node, early in the Kubernetes bootstrap process.
328328

329329
### StatefulSets
@@ -338,7 +338,7 @@ Replicas in a StatefulSet are scheduled and run across any available node in an
338338

339339
### DaemonSets
340340

341-
For specific log collection or monitoring, you may need to run a pod on all, or selected, nodes. You can use *DaemonSet* deploy on one or more identical pods, but the DaemonSet Controller ensures that each node specified runs an instance of the pod.
341+
For specific log collection or monitoring, you may need to run a pod on all nodes or a select set of nodes. You can use *DaemonSets* to deploy to one or more identical pods. The DaemonSet Controller ensures that each node specified runs an instance of the pod.
342342

343343
The DaemonSet Controller can schedule pods on nodes early in the cluster boot process, before the default Kubernetes scheduler has started. This ability ensures that the pods in a DaemonSet are started before traditional pods in a Deployment or StatefulSet are scheduled.
344344

articles/aks/free-standard-pricing-tiers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ In the Standard tier, the Uptime SLA feature is enabled by default per cluster.
4343

4444
## Before you begin
4545

46-
[Azure CLI](/cli/azure/install-azure-cli) version 2.47.0 or later and configured. Run `az --version` to find the version. If you need to install or upgrade, see [Install Azure CLI][install-azure-cli].
46+
Make sure you have installed [Azure CLI](/cli/azure/install-azure-cli) version 2.47.0 or later. Run `az --version` to find your current version. If you need to install or upgrade, see [Install Azure CLI][install-azure-cli].
4747

4848
## Create a new cluster in the Free tier or Paid tier
4949

articles/aks/open-ai-quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ Now that the application is deployed, you can deploy the Python-based microservi
210210
nodeSelector:
211211
"kubernetes.io/os": linux
212212
containers:
213-
- name: order-service
213+
- name: ai-service
214214
image: ghcr.io/azure-samples/aks-store-demo/ai-service:latest
215215
ports:
216216
- containerPort: 5001

articles/aks/upgrade.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.date: 11/21/2023
1111

1212
An Azure Kubernetes Service (AKS) cluster will periodically need to be updated to ensure security and compatibility with the latest features. There are two components of an AKS cluster that are necessary to maintain:
1313

14-
- *Cluster Kubernetes version*: Part of the AKS cluster lifecycle involves performing upgrades to the latest Kubernetes version. It’s important you upgrade to apply the latest security releases and to get access to the latest Kubernetes features, as well as to stay within the [AKS support window][supported-k8s-versions].
14+
- *Cluster Kubernetes version*: Part of the AKS cluster lifecycle involves performing upgrades to the latest Kubernetes version. It’s important that you upgrade to apply the latest security releases and to get access to the latest Kubernetes features, as well as to stay within the [AKS support window][supported-k8s-versions].
1515
- *Node image version*: AKS regularly provides new node images with the latest OS and runtime updates. It's beneficial to upgrade your nodes' images regularly to ensure support for the latest AKS features and to apply essential security patches and hot fixes.
1616

1717
For Linux nodes, node image security patches and hotfixes may be performed without your initiation as *unattended updates*. These updates are automatically applied, but AKS doesn't automatically reboot your Linux nodes to complete the update process. You're required to use a tool like [kured][node-updates-kured] or [node image upgrade][node-image-upgrade] to reboot the nodes and complete the cycle.
@@ -68,4 +68,4 @@ For more information what cluster operations may trigger specific upgrade events
6868
[ts-quota-exceeded]: /troubleshoot/azure/azure-kubernetes/error-code-quotaexceeded
6969
[ts-subnet-full]: /troubleshoot/azure/azure-kubernetes/error-code-subnetisfull-upgrade
7070
[node-security-patches]: ./concepts-vulnerability-management.md#worker-nodes
71-
[node-updates-kured]: ./node-updates-kured.md
71+
[node-updates-kured]: ./node-updates-kured.md

articles/api-management/TOC.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
- name: Security controls by Azure Policy
151151
href: ./security-controls-policy.md
152152
- name: Security baseline
153-
href: /security/benchmark/azure/baselines/api-management-security-baseline?toc=/azure/api-management/&bc=/azure/api-management/breadcrumb/toc.json
153+
href: /security/benchmark/azure/baselines/api-management-security-baseline?toc=%2Fazure%2Fapi-management%2Ftoc.json&bc=/azure/api-management/breadcrumb/toc.json
154154
- name: Logs and monitoring
155155
items:
156156
- name: Observability
@@ -211,7 +211,7 @@
211211
- name: Azure OpenAI
212212
items:
213213
- name: Protect Azure OpenAI keys
214-
href: /semantic-kernel/deploy/use-ai-apis-with-api-management?toc=/azure/api-management/&bc=/azure/api-management/breadcrumb/toc.json
214+
href: /semantic-kernel/deploy/use-ai-apis-with-api-management?toc=%2Fazure%2Fapi-management%2Ftoc.json&bc=/azure/api-management/breadcrumb/toc.json
215215
- name: Configure API for SSE
216216
href: how-to-server-sent-events.md
217217
- name: API import restrictions
@@ -247,7 +247,7 @@
247247
- name: Set or edit policies
248248
href: set-edit-policies.md
249249
- name: Author policies using Microsoft Copilot for Azure
250-
href: ../copilot/author-api-management-policies.md?toc=/azure/api-management/&bc=/azure/api-management/breadcrumb/toc.json
250+
href: ../copilot/author-api-management-policies.md?toc=%2Fazure%2Fapi-management%2Ftoc.json&bc=/azure/api-management/breadcrumb/toc.json
251251
- name: Debug policies in VS Code
252252
href: api-management-debug-policies.md
253253
- name: Policy expressions

articles/api-management/api-management-howto-disaster-recovery-backup-restore.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: dlepow
77

88
ms.service: api-management
99
ms.topic: how-to
10-
ms.date: 07/27/2022
10+
ms.date: 11/30/2023
1111
ms.author: danlep
1212
ms.custom: devx-track-azurepowershell
1313
---
@@ -334,13 +334,8 @@ Restore is a long-running operation that may take up to 30 or more minutes to co
334334

335335
## Storage networking constraints
336336

337-
### Access using storage access key
338-
339-
If the storage account is **[firewall][azure-storage-ip-firewall] enabled** and a storage key is used for access, then the customer must **Allow** the set of [Azure API Management control plane IP addresses][control-plane-ip-address] on their storage account for backup or restore to work. The storage account can be in any Azure region except the one where the API Management service is located. For example, if the API Management service is in West US, then the Azure Storage account can be in West US 2 and the customer needs to open the control plane IP 13.64.39.16 (API Management control plane IP of West US) in the firewall. This is because the requests to Azure Storage aren't SNATed to a public IP from compute (Azure API Management control plane) in the same Azure region. Cross-region storage requests will be SNATed to the public IP address.
340-
341-
### Access using managed identity
342337

343-
If an API Management system-assigned managed identity is used to access a firewall-enabled storage account, ensure that the storage account [grants access to trusted Azure services](../storage/common/storage-network-security.md?tabs=azure-portal#grant-access-to-trusted-azure-services).
338+
If the storage account is **[firewall][azure-storage-ip-firewall] enabled**, it's recommended to use the API Management instance's system-assigned managed identity for access to the account. Ensure that the storage account [grants access to trusted Azure services](../storage/common/storage-network-security.md?tabs=azure-portal#grant-access-to-trusted-azure-services).
344339

345340
## What is not backed up
346341
- **Usage data** used for creating analytics reports **isn't included** in the backup. Use [Azure API Management REST API][azure api management rest api] to periodically retrieve analytics reports for safekeeping.

articles/api-management/api-management-howto-policies.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@ ms.author: danlep
1313
---
1414
# Policies in Azure API Management
1515

16-
In Azure API Management, API publishers can change API behavior through configuration using *policies*. Policies are a collection of statements that are run sequentially on the request or response of an API. Popular statements include:
16+
In Azure API Management, API publishers can change API behavior through configuration using *policies*. Policies are a collection of statements that are run sequentially on the request or response of an API. API Management provides more than 50 policies out of the box that you can configure to address common API scenarios such as authentication, rate limiting, caching, and transformation of requests or responses. For a complete list, see [API Management policy reference](api-management-policies.md).
17+
18+
Popular policies include:
1719

1820
* Format conversion from XML to JSON
1921
* Call rate limiting to restrict the number of incoming calls from a developer
2022
* Filtering requests that come from certain IP addresses
2123

22-
Many more policies are available out of the box. For a complete list, see [API Management policy reference](api-management-policies.md).
2324

2425
Policies are applied inside the gateway between the API consumer and the managed API. While the gateway receives requests and forwards them, unaltered, to the underlying API, a policy can apply changes to both the inbound request and outbound response.
2526

@@ -116,6 +117,8 @@ In API Management, a [GraphQL resolver](configure-graphql-resolver.md) is config
116117

117118
For more information, see [Configure a GraphQL resolver](configure-graphql-resolver.md).
118119

120+
[!INCLUDE [api-management-policies-azure-copilot](../../includes/api-management-policies-azure-copilot.md)]
121+
119122
## Examples
120123

121124
### Apply policies specified at different scopes

articles/api-management/api-management-policies.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ More information about policies:
1717
+ [Policy overview](api-management-howto-policies.md)
1818
+ [Set or edit policies](set-edit-policies.md)
1919
+ [Policy expressions](api-management-policy-expressions.md)
20+
+ [Author policies using Microsoft Copilot for Azure](../copilot/author-api-management-policies.md?toc=%2Fazure%2Fapi-management%2Ftoc.json&bc=/azure/api-management/breadcrumb/toc.json)
2021

2122
> [!IMPORTANT]
2223
> [Limit call rate by subscription](rate-limit-policy.md) and [Set usage quota by subscription](quota-policy.md) have a dependency on the subscription key. A subscription key isn't required when other policies are applied.
@@ -100,10 +101,5 @@ More information about policies:
100101
- [Validate parameters](validate-parameters-policy.md) - Validates the request header, query, or path parameters against the API schema.
101102
- [Validate headers](validate-headers-policy.md) - Validates the response headers against the API schema.
102103
- [Validate status code](validate-status-code-policy.md) - Validates the HTTP status codes in responses against the API schema.
103-
## Next steps
104104

105-
For more information about working with policies, see:
106-
107-
+ [Tutorial: Transform and protect your API](transform-api.md)
108-
+ [Set or edit policies](set-edit-policies.md)
109-
+ [Policy snippets repo](https://github.com/Azure/api-management-policy-snippets)
105+
[!INCLUDE [api-management-policy-ref-next-steps](../../includes/api-management-policy-ref-next-steps.md)]

articles/api-management/api-management-policy-expressions.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,14 +241,15 @@ The `context` variable is implicitly available in every policy [expression](api-
241241
|`bool VerifyNoRevocation(input: this System.Security.Cryptography.X509Certificates.X509Certificate2)`|Performs an X.509 chain validation without checking certificate revocation status.<br /><br />`input` - certificate object<br /><br />Returns `true` if the validation succeeds; `false` if the validation fails.|
242242

243243

244-
## Next steps
244+
## Related content
245245

246246
For more information working with policies, see:
247247

248248
+ [Policies in API Management](api-management-howto-policies.md)
249-
+ [Transform APIs](transform-api.md)
250-
+ [Policy Reference](./api-management-policies.md) for a full list of policy statements and their settings
251-
+ [Policy samples](./policy-reference.md)
249+
+ [Tutorial: Transform and protect APIs](transform-api.md)
250+
+ [Policy reference](./api-management-policies.md) for a full list of policy statements and their settings
251+
+ [Policy snippets repo](https://github.com/Azure/api-management-policy-snippets)
252+
+ [Author policies using Microsoft Copilot for Azure](../copilot/author-api-management-policies.md?toc=%2Fazure%2Fapi-management%2Ftoc.json&bc=/azure/api-management/breadcrumb/toc.json)
252253

253254
For more information:
254255

0 commit comments

Comments
 (0)