Hello great community i am working right now on the cka exam prep mock 01 . The issues i face is on question 10 .
this is the error message rror: error validating “svc.yaml”: error validating data: ValidationError(Service.spec.ports[0]): unknown field “Nodeport” in io.k8s.api.core.v1.ServicePort; if you choose to ignore these errors, turn validation off with --validate=false
can somehelp
Hello, @gabrielgoukak
As you can see in the error message, it’s stated that you used an unknown field “Nodeport” under the ports.
So it’s a “nodePort” instead of “Nodeport”.
Reference page -