Skip to content

Commit 79b25c2

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into rolyon-aadroles-protected-actions-preview
2 parents f05986f + 837165b commit 79b25c2

10 files changed

+65
-65
lines changed

articles/aks/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
href: cluster-container-registry-integration.md
206206
- name: Use Vertical Pod Autoscaler
207207
href: vertical-pod-autoscaler.md
208-
- name: Metrics Server VPA Throttling
208+
- name: Configure Metrics Server VPA
209209
href: use-metrics-server-vertical-pod-autoscaler.md
210210
- name: Scale an AKS cluster
211211
href: scale-cluster.md

articles/aks/use-metrics-server-vertical-pod-autoscaler.md

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Configure Metrics Server VPA in Azure Kubernetes Service (AKS)
33
description: Learn how to vertically autoscale your Metrics Server pods on an Azure Kubernetes Service (AKS) cluster.
44
ms.topic: article
5-
ms.date: 03/21/2023
5+
ms.date: 03/27/2023
66
---
77

88
# Configure Metrics Server VPA in Azure Kubernetes Service (AKS)
@@ -24,22 +24,22 @@ To update the coefficient values, create a ConfigMap in the overlay *kube-system
2424
1. Create a ConfigMap file named *metrics-server-config.yaml* and copy in the following manifest.
2525

2626
```yml
27-
apiVersion: v1
28-
kind: ConfigMap
29-
metadata:
30-
name: metrics-server-config
31-
namespace: kube-system
32-
labels:
33-
kubernetes.io/cluster-service: "true"
34-
addonmanager.kubernetes.io/mode: EnsureExists
35-
data:
36-
NannyConfiguration: |-
37-
apiVersion: nannyconfig/v1alpha1
38-
kind: NannyConfiguration
39-
baseCPU: 100m
40-
cpuPerNode: 1m
41-
baseMemory: 100Mi
42-
memoryPerNode: 8Mi
27+
apiVersion: v1
28+
kind: ConfigMap
29+
metadata:
30+
name: metrics-server-config
31+
namespace: kube-system
32+
labels:
33+
kubernetes.io/cluster-service: "true"
34+
addonmanager.kubernetes.io/mode: EnsureExists
35+
data:
36+
NannyConfiguration: |-
37+
apiVersion: nannyconfig/v1alpha1
38+
kind: NannyConfiguration
39+
baseCPU: 100m
40+
cpuPerNode: 1m
41+
baseMemory: 100Mi
42+
memoryPerNode: 8Mi
4343
```
4444
4545
In the ConfigMap example, the resource limit and request are changed to the following:
@@ -89,22 +89,22 @@ If you would like to bypass VPA for Metrics Server and manually control its reso
8989
1. Create a ConfigMap file named *metrics-server-config.yaml* and copy in the following manifest.
9090

9191
```yml
92-
apiVersion: v1
93-
kind: ConfigMap
94-
metadata:
95-
name: metrics-server-config
96-
namespace: kube-system
97-
labels:
98-
kubernetes.io/cluster-service: "true"
99-
addonmanager.kubernetes.io/mode: EnsureExists
100-
data:
101-
NannyConfiguration: |-
102-
apiVersion: nannyconfig/v1alpha1
103-
kind: NannyConfiguration
104-
baseCPU: 100m
105-
cpuPerNode: 0m
106-
baseMemory: 100Mi
107-
memoryPerNode: 0Mi
92+
apiVersion: v1
93+
kind: ConfigMap
94+
metadata:
95+
name: metrics-server-config
96+
namespace: kube-system
97+
labels:
98+
kubernetes.io/cluster-service: "true"
99+
addonmanager.kubernetes.io/mode: EnsureExists
100+
data:
101+
NannyConfiguration: |-
102+
apiVersion: nannyconfig/v1alpha1
103+
kind: NannyConfiguration
104+
baseCPU: 100m
105+
cpuPerNode: 0m
106+
baseMemory: 100Mi
107+
memoryPerNode: 0Mi
108108
```
109109

110110
In this ConfigMap example, it changes the resource limit and request to the following:
@@ -126,7 +126,7 @@ If you would like to bypass VPA for Metrics Server and manually control its reso
126126
kubectl -n kube-system delete po metrics-server-pod-name
127127
```
128128

129-
4. To verify the updated resources took affect, run the following command to review the Metrics Server VPA log.
129+
4. To verify the updated resources took effect, run the following command to review the Metrics Server VPA log.
130130

131131
```bash
132132
kubectl -n kube-system logs metrics-server-pod-name -c metrics-server-vpa
@@ -150,22 +150,22 @@ If you would like to bypass VPA for Metrics Server and manually control its reso
150150
1. If you use the following configmap, the Metrics Server VPA customizations aren't applied. You need add a unit for `baseCPU`.
151151

152152
```yml
153-
apiVersion: v1
154-
kind: ConfigMap
155-
metadata:
156-
name: metrics-server-config
157-
namespace: kube-system
158-
labels:
159-
kubernetes.io/cluster-service: "true"
160-
addonmanager.kubernetes.io/mode: EnsureExists
161-
data:
162-
NannyConfiguration: |-
163-
apiVersion: nannyconfig/v1alpha1
164-
kind: NannyConfiguration
165-
baseCPU: 100
166-
cpuPerNode: 1m
167-
baseMemory: 100Mi
168-
memoryPerNode: 8Mi
153+
apiVersion: v1
154+
kind: ConfigMap
155+
metadata:
156+
name: metrics-server-config
157+
namespace: kube-system
158+
labels:
159+
kubernetes.io/cluster-service: "true"
160+
addonmanager.kubernetes.io/mode: EnsureExists
161+
data:
162+
NannyConfiguration: |-
163+
apiVersion: nannyconfig/v1alpha1
164+
kind: NannyConfiguration
165+
baseCPU: 100
166+
cpuPerNode: 1m
167+
baseMemory: 100Mi
168+
memoryPerNode: 8Mi
169169
```
170170

171171
The following example output resembles the results showing the updated throttling settings aren't applied.
@@ -200,4 +200,4 @@ Metrics Server is a component in the core metrics pipeline. For more information
200200
[metrics-server-api-design]: https://github.com/kubernetes/design-proposals-archive/blob/main/instrumentation/resource-metrics-api.md
201201

202202
<!--- INTERNAL LINKS --->
203-
[horizontal-pod-autoscaler]: concepts-scale.md#horizontal-pod-autoscaler
203+
[horizontal-pod-autoscaler]: concepts-scale.md#horizontal-pod-autoscaler

articles/azure-functions/create-first-function-cli-node.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Before you begin, you must have the following:
2929
::: zone-end
3030

3131
::: zone pivot="nodejs-model-v4"
32-
+ The [Azure Functions Core Tools](./functions-run-local.md#v2) version v4.0.5085 or above
32+
+ The [Azure Functions Core Tools](./functions-run-local.md#v2) version v4.0.5095 or above
3333
::: zone-end
3434

3535
+ One of the following tools for creating Azure resources:
@@ -57,7 +57,7 @@ Verify your prerequisites, which depend on whether you are using Azure CLI or Az
5757
::: zone-end
5858

5959
::: zone pivot="nodejs-model-v4"
60-
+ In a terminal or command window, run `func --version` to check that the Azure Functions Core Tools are version v4.0.4915 or above.
60+
+ In a terminal or command window, run `func --version` to check that the Azure Functions Core Tools are version v4.0.5095 or above.
6161
::: zone-end
6262

6363
+ Run `az --version` to check that the Azure CLI version is 2.4 or later.
@@ -71,7 +71,7 @@ Verify your prerequisites, which depend on whether you are using Azure CLI or Az
7171
::: zone-end
7272

7373
::: zone pivot="nodejs-model-v4"
74-
+ In a terminal or command window, run `func --version` to check that the Azure Functions Core Tools are version v4.0.4915 or above.
74+
+ In a terminal or command window, run `func --version` to check that the Azure Functions Core Tools are version v4.0.5095 or above.
7575
::: zone-end
7676

7777
+ Run `(Get-Module -ListAvailable Az).Version` and verify version 5.0 or later.

articles/azure-functions/create-first-function-cli-typescript.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Before you begin, you must have the following:
2828
+ The [Azure Functions Core Tools](./functions-run-local.md#v2) version 4.x.
2929
::: zone-end
3030
::: zone pivot="nodejs-model-v4"
31-
+ The [Azure Functions Core Tools](./functions-run-local.md#v2) version v4.0.5085 or above
31+
+ The [Azure Functions Core Tools](./functions-run-local.md#v2) version v4.0.5095 or above
3232
::: zone-end
3333

3434
+ One of the following tools for creating Azure resources:
@@ -58,7 +58,7 @@ Verify your prerequisites, which depend on whether you're using Azure CLI or Azu
5858
::: zone-end
5959

6060
::: zone pivot="nodejs-model-v4"
61-
+ In a terminal or command window, run `func --version` to check that the Azure Functions Core Tools are version v4.0.4915 or above.
61+
+ In a terminal or command window, run `func --version` to check that the Azure Functions Core Tools are version v4.0.5095 or above.
6262
::: zone-end
6363

6464
+ Run `az --version` to check that the Azure CLI version is 2.4 or later.
@@ -72,7 +72,7 @@ Verify your prerequisites, which depend on whether you're using Azure CLI or Azu
7272
::: zone-end
7373

7474
::: zone pivot="nodejs-model-v4"
75-
+ In a terminal or command window, run `func --version` to check that the Azure Functions Core Tools are version v4.0.4915 or above.
75+
+ In a terminal or command window, run `func --version` to check that the Azure Functions Core Tools are version v4.0.5095 or above.
7676
::: zone-end
7777

7878
+ Run `(Get-Module -ListAvailable Az).Version` and verify version 5.0 or later.

articles/azure-functions/create-first-function-vs-code-typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Before you get started, make sure you have the following requirements in place:
4141
+ [Azure Functions Core Tools 4.x](functions-run-local.md#install-the-azure-functions-core-tools).
4242
::: zone-end
4343
::: zone pivot="nodejs-model-v4"
44-
+ [Azure Functions Core Tools v4.0.5085 or above](functions-run-local.md#install-the-azure-functions-core-tools).
44+
+ [Azure Functions Core Tools v4.0.5095 or above](functions-run-local.md#install-the-azure-functions-core-tools).
4545
::: zone-end
4646

4747
## <a name="create-an-azure-functions-project"></a>Create your local project

articles/azure-functions/durable/quickstart-js-vscode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ To complete this tutorial:
3737
* Make sure you have the latest version of the [Azure Functions Core Tools](../functions-run-local.md).
3838
::: zone-end
3939
::: zone pivot="nodejs-model-v4"
40-
* Make sure you have [Azure Functions Core Tools](../functions-run-local.md) version `v4.0.5085` or above.
40+
* Make sure you have [Azure Functions Core Tools](../functions-run-local.md) version `v4.0.5095` or above.
4141
::: zone-end
4242

4343
* Durable Functions require an Azure storage account. You need an Azure subscription.

articles/azure-functions/durable/quickstart-ts-vscode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ To complete this tutorial:
3737
* Make sure you have the latest version of the [Azure Functions Core Tools](../functions-run-local.md).
3838
::: zone-end
3939
::: zone pivot="nodejs-model-v4"
40-
* Make sure you have [Azure Functions Core Tools](../functions-run-local.md) version `v4.0.5085` or above.
40+
* Make sure you have [Azure Functions Core Tools](../functions-run-local.md) version `v4.0.5095` or above.
4141
::: zone-end
4242

4343
* Durable Functions require an Azure storage account. You need an Azure subscription.

articles/azure-functions/functions-node-upgrade-v4.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ Version 4 was designed with the following goals in mind:
2323

2424
Version 4 of the Node.js programming model requires the following minimum versions:
2525

26-
- [`@azure/functions`](https://www.npmjs.com/package/@azure/functions) npm package v4.0.0-alpha.8+
26+
- [`@azure/functions`](https://www.npmjs.com/package/@azure/functions) npm package v4.0.0-alpha.9+
2727
- [Node.js](https://nodejs.org/en/download/releases/) v18+
2828
- [TypeScript](https://www.typescriptlang.org/) v4+
2929
- [Azure Functions Runtime](./functions-versions.md) v4.16+
30-
- [Azure Functions Core Tools](./functions-run-local.md) v4.0.4915+ (if running locally)
30+
- [Azure Functions Core Tools](./functions-run-local.md) v4.0.5095+ (if running locally)
3131

3232
## Enable v4 programming model
3333

articles/azure-functions/functions-reference-node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The following table shows each version of the Node.js programming model along wi
3131

3232
| [Programming Model Version](https://www.npmjs.com/package/@azure/functions?activeTab=versions) | Support Level | [Functions Runtime Version](./functions-versions.md) | [Node.js Version](https://github.com/nodejs/release#release-schedule) | Description |
3333
| ---- | ---- | --- | --- | --- |
34-
| 4.x | Preview | 4.x | 18.x | Supports a flexible file structure and code-centric approach to triggers and bindings. |
34+
| 4.x | Preview | 4.16+ | 18.x | Supports a flexible file structure and code-centric approach to triggers and bindings. |
3535
| 3.x | GA | 4.x | 18.x, 16.x, 14.x | Requires a specific file structure with your triggers and bindings declared in a "function.json" file |
3636
| 2.x | GA (EOL) | 3.x | 14.x, 12.x, 10.x | Reached end of life (EOL) on December 13, 2022. See [Functions Versions](./functions-versions.md) for more info. |
3737
| 1.x | GA (EOL) | 2.x | 10.x, 8.x | Reached end of life (EOL) on December 13, 2022. See [Functions Versions](./functions-versions.md) for more info. |

includes/functions-requirements-visual-studio-code-node-v4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ ms.author: jiayma
1414

1515
+ The [Azure Functions extension v1.10.4](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions) or above for Visual Studio Code.
1616

17-
+ [Azure Functions Core Tools v4.0.5085 or above](../articles/azure-functions/functions-run-local.md#install-the-azure-functions-core-tools).
17+
+ [Azure Functions Core Tools v4.0.5095 or above](../articles/azure-functions/functions-run-local.md#install-the-azure-functions-core-tools).

0 commit comments

Comments
 (0)