Hi Team,
As per the task, i have created the pod. But when i submitted the task, it is showing wrong. I have attached the screenshot. Please review and advise, where did mistake. Thank you.
I found the mistake from my end. There are 2 resource field.
A common gotcha with resource specs. More likely to happen when you start with something you extracted with -o yaml
# YAML FAQ
We see a few questions about "kubectl" YAML manifests and what you can and can't do syntactically, therefore we'll try to clear some of this up.
`kubectl` (and anything else in the ecosystem that needs to read YAML like `kubelet` etc) is built using the standard GoLang YAML package, which apart from anything explicitly mentioned in the package's [Compatibility](https://github.com/go-yaml/yaml#compatibility) paragraph is generally YAML 1.2 compliant (see [gotchas](#gotchas) below), and this is the dialect that `kubectl` understands. There is no "special" `kubectl` dialect.
* [In a nutshell](#in-a-nutshell)
* [To quote or not to quote](#to-quote-or-not-to-quote)
* [Indentation](#indentation)
* [Dealing with Errors (kubectl)](#dealing-with-errors-kubectl)
* [Gotchas](#gotchas)
* [YAML Practice lab](#yaml-practice-lab)
* [Advanced features](#advanced-features)
* [Documents](#documents)
* [Aliases and anchors](#aliases-and-anchors)
## In a nutshell
YAML is a superset of JSON and has all the same concepts like objects (a.k.a. dictionary, map) and lists, and combinations of all these
This file has been truncated. show original