+ kubectl apply -f springBootMongo.yml
unable to recognize "springBootMongo.yml": no matches for kind "ReplicationController" in version "v1"
unable to recognize "springBootMongo.yml": no matches for kind "Service" in version "v1"
unable to recognize "springBootMongo.yml": no matches for kind "ReplicationController" in version "v1"
unable to recognize "springBootMongo.yml": no matches for kind "Service" in version "v1"
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE
i get this error ,i don't what's wrong