I\'m following that tutorial (https://www.baeldung.com/spring-boot-minikube) I want to create Kubernetes deployment in yaml file (simple-crud-dpl.yaml):
apiV
You can use "--validate=false" in your command. For example:
kubectl create -f simple-crud-dpl.yaml --validate=false