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: articles/aks/developer-best-practices-resource-management.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,13 +25,13 @@ This article covers the following topics:
25
25
>
26
26
> Set pod requests and limits on all pods in your YAML manifests. If the AKS cluster uses *resource quotas* and you don't define these values, your deployment may be rejected.
27
27
28
-
Use pod requests and limits to manage compute resources within an AKS cluster. Pod requests and limits inform the Kubernetes scheduler which compute resources to assign to a pod.
28
+
Use pod requests and limits to manage compute resources within an AKS cluster. Pod requests and limits inform the Kubernetes scheduler of the compute resources to assign to a pod.
29
29
30
30
### Pod CPU/Memory requests
31
31
32
32
*Pod requests* define a set amount of CPU and memory the pod needs regularly.
33
33
34
-
In your pod specifications, it's important you define these requests and limits based on the above information. If you don't include these values, the Kubernetes scheduler can't consider the resources your applications requires to assist in scheduling decisions.
34
+
In your pod specifications, it's important you define these requests and limits based on the above information. If you don't include these values, the Kubernetes scheduler can't consider the resources your applications requires to help with scheduling decisions.
35
35
36
36
Monitor the performance of your application to adjust pod requests. If you underestimate pod requests, your application may receive degraded performance due to over-scheduling a node. If requests are overestimated, your application may have increased scheduling difficulty.
37
37
@@ -47,17 +47,17 @@ Monitor the performance of your application at different times during the day or
47
47
48
48
> [!IMPORTANT]
49
49
>
50
-
> In your pod specifications, define these requests and limits based on the above information. Failing to include these values prevents the Kubernetes scheduler from accounting for resources your applications require to assist in scheduling decisions.
50
+
> In your pod specifications, define these requests and limits based on the above information. Failing to include these values prevents the Kubernetes scheduler from accounting for resources your applications requires to help with scheduling decisions.
51
51
52
52
If the scheduler places a pod on a node with insufficient resources, application performance is degraded. Cluster administrators **must set *resource quotas*** on a namespace that requires you to set resource requests and limits. For more information, see [resource quotas on AKS clusters][resource-quotas].
53
53
54
54
When you define a CPU request or limit, the value is measured in CPU units.
55
55
56
56
**1.0* CPU equates to one underlying virtual CPU core on the node.
57
57
* The same measurement is used for GPUs.
58
-
* You can define fractions measured in millicores. For example, *100m* is *0.1* of an underlying vCPU core.
58
+
* You can define fractions measured in millicores. For example, *100 m* is *0.1* of an underlying vCPU core.
59
59
60
-
In the following basic example for a single NGINX pod, the pod requests *100m* of CPU time and *128Mi* of memory. The resource limits for the pod are set to *250m* CPU and *256Mi* memory.
60
+
In the following basic example for a single NGINX pod, the pod requests *100 m* of CPU time and *128Mi* of memory. The resource limits for the pod are set to *250 m* CPU and *256Mi* memory.
61
61
62
62
```yaml
63
63
kind: Pod
@@ -90,7 +90,7 @@ With Bridge to Kubernetes, you can develop, debug, and test applications directl
90
90
Using integrated development and test process with Bridge to Kubernetes reduces the need for local test environments like [minikube][minikube]. Instead, you develop and test against an AKS cluster, even in secured and isolated clusters.
91
91
92
92
> [!NOTE]
93
-
> Bridge to Kubernetes is intended for use with applications that run on Linux pods and nodes.
93
+
> Bridge to Kubernetes is intended for use with applications running on Linux pods and nodes.
94
94
95
95
## Use the Visual Studio Code (VS Code) extension for Kubernetes
0 commit comments