Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helm install not working with Kubernetes v1.16.0 #3

Closed
jizusun opened this issue Oct 4, 2019 · 1 comment
Closed

helm install not working with Kubernetes v1.16.0 #3

jizusun opened this issue Oct 4, 2019 · 1 comment

Comments

@jizusun
Copy link
Contributor

jizusun commented Oct 4, 2019

I'm using microk8s, and my colleagues who are using minikube have the same issue.

$ microk8s.kubectl version       
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.0", GitCommit:"2bd9643cee5b3b3a5ecbd3af49d09018f0773c77", GitTreeState:"clean", BuildDate:"2019-09-18T14:36:53Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}                                           
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.0", GitCommit:"2bd9643cee5b3b3a5ecbd3af49d09018f0773c77", GitTreeState:"clean", BuildDate:"2019-09-18T14:27:17Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}  

$ microk8s.helm version                          
Client: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}

$ git log -1
commit fc5a81709888954bc73467a27b356038c4f2a54e (HEAD -> master, origin/master, origin/HEAD)
Merge: 26298b9 7fec8f7
Author: Neeraj Laad <neeraj.laad@gmail.com>
Date:   Mon May 20 15:33:58 2019 +0100

    Merge pull request #2 from seabaylea/live-ready

    Make the use of liveness and readiness configurable


$ microk8s.helm install --name nodeserver chart/nodeserver
Error: validation failed: unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1"

The reason behind this error should be similar to the one for this issue: helm/helm#6374

@jizusun
Copy link
Contributor Author

jizusun commented Oct 15, 2019

For spec.selector it is also required. so I added into this commit. see: https://serverfault.com/a/917359

@jizusun jizusun closed this as completed Oct 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant