This is a Bug Report
Problem:
In Task page for the given URL, formatting of YAML code to create an ingress is not correct. Although on checking the content/en/docs/tasks/access-application-cluster/ingress-minkube.md, I found it correct.
Proposed Solution:
Page to Update:
https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/#create-an-ingress-resource