Sunny Pachunuri
11/23/2023, 12:39 AMMarvin
11/23/2023, 12:39 AMSunny Pachunuri
11/23/2023, 12:48 AMMarvin
11/23/2023, 12:49 AMyaml
apiVersion: v1
kind: Pod
metadata:
name: my-pod
spec:
containers:
- name: my-container
image: my-image
resources:
limits:
cpu: "1"
memory: "1Gi"
requests:
cpu: "0.5"
memory: "500Mi"
In this example, the limits
block specifies the maximum amount of CPU and memory that the container can use. The requests
block specifies the amount of CPU and memory that the container is guaranteed.
Please note that the values for CPU and memory should be adjusted according to your specific needs.
For more detailed information, you can refer to the following resources:
1. Basic Pod CPU and Memory Management :: Amazon EKS Workshop - GitHub Pages
2. Memory and vCPU considerations for AWS Batch on Amazon EKS
3. eks — AWS CLI 1.30.3 Command Reference