Kubernetes- Pod creation issue through yaml file

Hi all , i am facing issue while creating pod using yaml file.
error-
Error from server (NotFound): error when creating “H:\kubernetes\Pod.yaml”: the server could not find the requested resource.

I’m not sure what you did here, so I’m not sure what you did wrong :slight_smile: So:

  1. What command did you run, and
  2. What’s the content of “H:\kubernetes\Pod.yaml”? You should post that in a code block (you create those using the </> button above the text editing form field), so that the indentation in the yaml file will be preserved, like this:
First line
  indented second line.

Thanks for replying . Yaml file was wrong so this issue has come.
Now it has resolved.
Thanks.