Complete the code to specify CPU resource requests in a Kubernetes pod spec.
resources:
requests:
cpu: "[1]"In Kubernetes, CPU requests are specified in millicores, so "500m" means 0.5 CPU cores.
Complete the code to specify memory limits in a Kubernetes container spec.
resources:
limits:
memory: "[1]"Memory limits in Kubernetes use binary SI units like 'Mi' for mebibytes. '512Mi' means 512 mebibytes.
Fix the error in the resource request syntax for CPU in this pod spec snippet.
resources:
requests:
cpu: [1]CPU requests must be strings with units, so the value should be quoted like "1000m".
Fill both blanks to create a resource limit and request for memory in a container spec.
resources:
limits:
memory: "[1]"
requests:
memory: "[2]"Limits should be higher than requests. Here, limit is '1Gi' and request is '256Mi'.
Fill all three blanks to define CPU and memory requests and limits correctly in a pod spec.
resources:
requests:
cpu: "[1]"
memory: "[2]"
limits:
cpu: "[3]"CPU request is '250m', memory request is '256Mi', and CPU limit is '500m'. Limits are higher than requests.