kahootali / counter-app

Its a simple counter app which logs and increments the count from a file. Repository includes Dockerfile and respective kubernetes manifest
32 stars 41 forks source link

unable to recognize "deployment.yaml": no matches for kind "Deployment" in version "apps/v1beta1" #2

Closed tuv7041 closed 4 years ago

tuv7041 commented 4 years ago

Hi, when trying to apply deployment.yaml, I get the following error:

error: unable to recognize "deployment.yaml": no matches for kind "Deployment" in version "apps/v1beta1"

Does the template need to be updated? My Kubectl version shows:

Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.3", GitCommit:"2e7996e3e2712684bc73f0dec0200d64eec7fe40", GitTreeState:"clean", BuildDate:"2020-05-20T12:52:00Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.3", GitCommit:"2e7996e3e2712684bc73f0dec0200d64eec7fe40", GitTreeState:"clean", BuildDate:"2020-05-20T12:43:34Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
kahootali commented 4 years ago

Fixed by https://github.com/kahootali/counter-app/pull/3