How Do You Troubleshoot the kubectl ‘version “extensions/v1beta1″‘ Error Message?

Problem scenario
You run a kubectl command, but you get this problem: 'error: unable to recognize "foobar.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"'

What should you do?

Solution
Change your yaml file so the apiVersion setting/value works. To learn more about the acceptable values, see this posting.

Leave a comment

Your email address will not be published. Required fields are marked *