Kubernetes Limit CPU/Memory Task failing

Hi,

I am not sure what Iam doing wrong here are the screenshot and details:
httpd-pod.yaml file includes the below code:

apiVersion: v1
kind: Pod
metadata:
labels:
run: httpd-pod
name: httpd-pod
spec:
containers:

  • image: httpd:latest
    name: httpd-container
    resources:
    limits:
    cpu: 2
    memory: “20Mi”
    requests:
    cpu: 1
    memory: “15Mi”

All indentations are handles properly during the time when I execute it using the command:

kubectl apply -f httpd-pod.yaml



Hello @faisalbasha1982
There is no issues with the YAML.

Regards,
KodeKloud Support