老师好:
报错配置文件和课件一样
error: error validating "hello-deployment.yaml": error validating data: ValidationError(Deployment.spec): missing required field "selector" in io.k8s.api.apps.v1.DeploymentSpec; if you choose to ignore these errors, turn validation off with --validate=false
应该是yaml文件中出现了问题,请仔细查看一下yaml文件中的参数和格式。