error validating data: [ValidationError(Deployment): unkNown field "\u00a0\u00a0name" in io.k8s.api.apps.v1.Deployment, ValidationError(Deployment): unkNown field "\u00a0\u00a0replicas" in io.k8s.api.apps.v1.Deployment, ValidationError(Deployment): unkNown field "\u00a0\u00a0\u00a0\u00a0app" in io.k8s.api.apps.v1.Deployment, ValidationError(Deployment): unkNown field "\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0app" in io.k8s.api.apps.v1.Deployment, ValidationError(Deployment): unkNown field "\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-\u00a0name" in io.k8s.api.apps.v1.Deployment, ValidationError(Deployment): unkNown field "\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0app" in io.k8s.api.apps.v1.Deployment, ValidationError(Deployment): unkNown field "\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0env" in io.k8s.api.apps.v1.Deployment, ValidationError(Deployment): unkNown field "\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0image" in io.k8s.api.apps.v1.Deployment, ValidationError(Deployment): unkNown field "\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-\u00a0containerPort" in io.k8s.api.apps.v1.Deployment, ValidationError(Deployment): unkNown field "\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-\u00a0mountPath" in io.k8s.api.apps.v1.Deployment, ValidationError(Deployment): unkNown field "\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-\u00a0name" in io.k8s.api.apps.v1.Deployment, ValidationError(Deployment): unkNown field "\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0path" in io.k8s.api.apps.v1.Deployment, ValidationError(Deployment): unkNown field "\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0type" in io.k8s.api.apps.v1.Deployment, ValidationError(Deployment): unkNown field "\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0name" in io.k8s.api.apps.v1.Deployment, ValidationError(Deployment): unkNown field "\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0value" in io.k8s.api.apps.v1.Deployment]; if you choose to ignore these errors, turn validation off with --validate=false
解决方法
把文件中的空格替换成键盘空格
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。