Skip to content

Commit dd50b53

Browse files
authored
Merge branch 'MicrosoftDocs:main' into main
2 parents e11b5ef + a180abd commit dd50b53

File tree

10 files changed

+84
-214
lines changed

10 files changed

+84
-214
lines changed

articles/aks/node-auto-repair.md

Lines changed: 29 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,65 @@
11
---
2-
title: Automatically repairing Azure Kubernetes Service (AKS) nodes
3-
description: Learn about node auto-repair functionality, and how AKS fixes broken worker nodes.
2+
title: Automatically repair Azure Kubernetes Service (AKS) nodes
3+
description: Learn about node auto-repair functionality and how AKS fixes broken worker nodes.
44
ms.topic: conceptual
5-
ms.date: 03/11/2021
5+
ms.date: 05/30/2023
66
---
77

88
# Azure Kubernetes Service (AKS) node auto-repair
99

10-
AKS continuously monitors the health state of worker nodes and performs automatic node repair if they become unhealthy. The Azure virtual machine (VM) platform [performs maintenance on VMs][vm-updates] experiencing issues.
10+
Azure Kubernetes Service (AKS) continuously monitors the health state of worker nodes and performs automatic node repair if they become unhealthy. The Azure virtual machine (VM) platform [performs maintenance on VMs][vm-updates] experiencing issues. AKS and Azure VMs work together to minimize service disruptions for clusters.
1111

12-
AKS and Azure VMs work together to minimize service disruptions for clusters.
13-
14-
In this document, you'll learn how automatic node repair functionality behaves for both Windows and Linux nodes.
12+
In this article, you learn how the automatic node repair functionality behaves for Windows and Linux nodes.
1513

1614
## How AKS checks for unhealthy nodes
1715

18-
AKS uses the following rules to determine if a node is unhealthy and needs repair:
19-
* The node reports **NotReady** status on consecutive checks within a 10-minute timeframe.
20-
* The node doesn't report any status within 10 minutes.
16+
AKS uses the following rules to determine if a node is unhealthy and needs repair:
2117

22-
You can manually check the health state of your nodes with kubectl.
18+
* The node reports the **NotReady** status on consecutive checks within a 10-minute time frame.
19+
* The node doesn't report any status within 10 minutes.
2320

24-
```
25-
kubectl get nodes
26-
```
21+
You can manually check the health state of your nodes with the `kubectl get nodes` command.
2722

2823
## How automatic repair works
2924

30-
> [!Note]
25+
> [!NOTE]
3126
> AKS initiates repair operations with the user account **aks-remediator**.
3227
33-
If AKS identifies an unhealthy node that remains unhealthy for 5 minutes, AKS takes the following actions:
28+
If AKS identifies an unhealthy node that remains unhealthy for *five* minutes, AKS performs the following actions:
29+
30+
1. Attempts to restart the node.
31+
2. If the node restart is unsuccessful, AKS reimages the node.
32+
3. If the reimage is unsuccessful and it's a Linux node, AKS redeploys the node.
3433

35-
1. Restarts the node.
36-
1. If the restart is unsuccessful, reimages the node.
37-
1. If the reimage is unsuccessful, and this is a Linux node, redeploys the node.
34+
AKS engineers investigate alternative remediations if auto-repair is unsuccessful.
3835

39-
Alternative remediations are investigated by AKS engineers if auto-repair is unsuccessful.
40-
As well as if you want to get the node to reimage you can always add the nodeCondition "customerMarkedAsUnhealthy": true, and remediator will reimage your node that way.
36+
If you want the remediator to reimage the node, you can add the `nodeCondition "customerMarkedAsUnhealthy": true`.
4137

42-
## Node Autodrain
43-
[Scheduled Events][scheduled-events] can occur on the underlying virtual machines (VMs) in any of your node pools. For [spot node pools][spot-node-pools], scheduled events may cause a *preempt* node event for the node. Certain node events, such as *preempt*, cause AKS node autodrain to attempt a cordon and drain of the affected node, which allows for a graceful reschedule of any affected workloads on that node. When this happens, you might notice the node to receive a taint with *"remediator.aks.microsoft.com/unschedulable"*, because of *"kubernetes.azure.com/scalesetpriority: spot"*.
38+
## Node auto-drain
4439

40+
[Scheduled events][scheduled-events] can occur on the underlying VMs in any of your node pools. For [spot node pools][spot-node-pools], scheduled events may cause a *preempt* node event for the node. Certain node events, such as *preempt*, cause AKS node auto-drain to attempt a cordon and drain of the affected node. This process enables rescheduling for any affected workloads on that node. You might notice the node receives a taint with `"remediator.aks.microsoft.com/unschedulable"`, because of `"kubernetes.azure.com/scalesetpriority: spot"`.
4541

46-
The following table shows the node events, and the actions they cause for AKS node autodrain.
42+
The following table shows the node events and actions they cause for AKS node auto-drain:
4743

4844
| Event | Description | Action |
4945
| --- | --- | --- |
50-
| Freeze | The VM is scheduled to pause for a few seconds. CPU and network connectivity may be suspended, but there is no impact on memory or open files | No action |
51-
| Reboot | The VM is scheduled for reboot. The VM's non-persistent memory is lost. | No action |
52-
| Redeploy | The VM is scheduled to move to another node. The VM's ephemeral disks are lost. | Cordon and drain |
46+
| Freeze | The VM is scheduled to pause for a few seconds. CPU and network connectivity may be suspended, but there's no impact on memory or open files. | No action. |
47+
| Reboot | The VM is scheduled for reboot. The VM's non-persistent memory is lost. | No action. |
48+
| Redeploy | The VM is scheduled to move to another node. The VM's ephemeral disks are lost. | Cordon and drain. |
5349
| Preempt | The spot VM is being deleted. The VM's ephemeral disks are lost. | Cordon and drain |
54-
| Terminate | The VM is scheduled to be deleted.| Cordon and drain |
55-
56-
50+
| Terminate | The VM is scheduled for deletion.| Cordon and drain. |
5751

5852
## Limitations
5953

60-
In many cases, AKS can determine if a node is unhealthy and attempt to repair the issue, but there are cases where AKS either can't repair the issue or can't detect that there is an issue. For example, AKS can't detect issues if a node status is not being reported due to error in network configuration, or has failed to initially register as a healthy node.
54+
In many cases, AKS can determine if a node is unhealthy and attempt to repair the issue. However, there are cases where AKS either can't repair the issue or detect that an issue exists. For example, AKS can't detect issues in the following example scenarios:
55+
56+
* A node status isn't being reported due to error in network configuration.
57+
* A node failed to initially register as a healthy node.
6158

6259
## Next steps
6360

64-
Use [Availability Zones][availability-zones] to increase high availability with your AKS cluster workloads.
61+
Use [availability zones][availability-zones] to increase high availability with your AKS cluster workloads.
6562

66-
<!-- LINKS - External -->
6763
<!-- LINKS - Internal -->
6864
[availability-zones]: ./availability-zones.md
6965
[vm-updates]: ../virtual-machines/maintenance-and-updates.md

articles/communication-services/tutorials/chat-interop/includes/meeting-interop-features-file-attachment-javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Tutorial - Enable File Attachment Support
3-
author: jopeng
3+
author: jpeng-ms
44
ms.author: jopeng
55
ms.date: 05/26/2023
66
ms.topic: include

articles/communication-services/tutorials/chat-interop/meeting-interop-features-inline-image.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: Enable Inline Image Support in your Chat app
33
titleSuffix: An Azure Communication Services quickstart
4-
description: In this tutorial, you'll learn how to enable inline image interoperability with the Azure Communication Chat SDK
5-
author: jopeng
4+
description: In this tutorial, you learn how to enable inline image interoperability with the Azure Communication Chat SDK.
5+
author: jpeng-ms
66
ms.author: jopeng
77
ms.date: 03/27/2023
88
ms.topic: quickstart
@@ -13,13 +13,16 @@ ms.custom: mode-other
1313

1414
# Tutorial: Enable inline image support in your Chat app
1515

16-
## Add inline image support
1716
The Chat SDK is designed to work with Microsoft Teams seamlessly. Specifically, Chat SDK provides a solution to receive inline images sent by users from Microsoft Teams. Currently this feature is only available in the Chat SDK for JavaScript.
1817

19-
The Chat SDK for JavaScript provides `previewUrl` and `url` for each inline image. Please note that some GIF images fetched from `previewUrl` might not be animated and a static preview image would be returned instead. Developers are expected to use the `url` if the intention is to fetch animated images only.
20-
2118
[!INCLUDE [Public Preview Notice](../../includes/public-preview-include.md)]
2219

20+
## Add inline image support
21+
22+
Inline images are images that are copied and pasted directly into the send box of the Teams client. For images that were uploaded via the "Upload from this device" menu or via drag-and-drop, such as images dragged directly to the send box in Teams, you need to refer to [this tutorial](./meeting-interop-features-file-attachment.md) to enable it as the part of the file sharing feature. (See the section "Handling Image Attachment.") To copy an image, the Teams user can either use their operating system's context menu to copy the image file and then paste it into the send box of their Teams client or use keyboard shortcuts.
23+
24+
The Chat SDK for JavaScript provides `previewUrl` and `url` for each inline image. Note that some GIF images fetched from `previewUrl` might not be animated, and a static preview image may be returned instead. Developers are expected to use the `url` if the intention is to fetch animated images only.
25+
2326
[!INCLUDE [Teams Inline Image Interop with JavaScript SDK](./includes/meeting-interop-features-inline-image-javascript.md)]
2427

2528
## Next steps

articles/iot-hub/.openpublishing.redirection.iot-hub.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,6 +1357,11 @@
13571357
"source_path_from_root": "/articles/iot-hub/iot-hub-device-management-iot-toolkit.md",
13581358
"redirect_url": "/azure/iot-hub/reference-iot-hub-extension",
13591359
"redirect_document_id": false
1360+
},
1361+
{
1362+
"source_path_from_root": "/articles/iot-hub/iot-hub-device-management-iot-extension-azure-cli-2-0.md",
1363+
"redirect_url": "/azure/iot-hub/reference-iot-hub-extension",
1364+
"redirect_document_id": false
13601365
}
13611366
]
13621367
}

articles/iot-hub/TOC.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,8 +448,6 @@
448448
href: iot-hub-raspberry-pi-kit-c-get-started.md
449449
- name: Extended IoT scenarios
450450
items:
451-
- name: Device management with IoT extension for Azure CLI
452-
href: iot-hub-device-management-iot-extension-azure-cli-2-0.md
453451
- name: Remote monitoring and notifications with Logic Apps
454452
href: iot-hub-monitoring-notifications-with-azure-logic-apps.md
455453
- name: Troubleshoot and problem solution

articles/iot-hub/iot-hub-device-management-iot-extension-azure-cli-2-0.md

Lines changed: 0 additions & 129 deletions
This file was deleted.

0 commit comments

Comments
 (0)