Kubernetes web service creations errors

@damencho @saghul @userdev
i am trying configure kubernetes in GCP and following the bellow link

1.I am getting below errors how to resole , is it required some changes in “web-service.yaml”:
2. What could be host name in “web-service.yaml” file .
error: error validating “web-service.yaml”: error validating data: ValidationError(Ingress.spec): unknown field “ports” in io.k8s.api.networking.v1beta1.IngressSpec; i
f you choose to ignore these errors, turn validation off with --validate=false