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 issues on k8s 1.16.2 #1095

Closed
JoaoRMF opened this issue Nov 11, 2019 · 2 comments
Closed

Helm install issues on k8s 1.16.2 #1095

JoaoRMF opened this issue Nov 11, 2019 · 2 comments
Labels

Comments

@JoaoRMF
Copy link

JoaoRMF commented Nov 11, 2019

I'm trying to install Seldon Core using Helm following the instructions here:
https://docs.seldon.io/projects/seldon-core/en/latest/workflow/install.html#seldon-core-helm-install

I have this versions for helm and kubectl:

$ helm version

version.BuildInfo{Version:"v3.0.0-rc.3", GitCommit:"2ed206799b451830c68bff30af2a52879b8b937a", GitTreeState:"clean", GoVersion:"go1.13.4"}

$ kubectl version

Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.2", GitCommit:"c97fe5036ef3df2967d086711e6c0c405941e14b", GitTreeState:"clean", BuildDate:"2019-10-15T19:18:23Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.2", GitCommit:"c97fe5036ef3df2967d086711e6c0c405941e14b", GitTreeState:"clean", BuildDate:"2019-10-15T19:09:08Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}

The installation using the helm install command from the URL above outputs this (notice that I had to change from --name to -name due to changes in this helm tool version

$ helm install seldon-core-operator -name seldon-core --repo https://storage.googleapis.com/seldon-charts --set usageMetrics.enabled=true --namespace seldon-system

Error: unable to build kubernetes objects from release manifest: [unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta1", unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1", unable to recognize "": no matches for kind "StatefulSet" in version "apps/v1beta2"]

The installation of the 0.5.0-SNAPSHOT outputs this

$ helm install seldon-core-operator -name seldon-core --repo https://storage.googleapis.com/seldon-charts --set usageMetrics.enabled=true --namespace seldon-system --version 0.5.0-SNAPSHOT

Error: chart "seldon-core" version "0.5.0-SNAPSHOT" not found in https://storage.googleapis.com/seldon-charts repository
@JoaoRMF JoaoRMF changed the title Helm install fails with unable to build kubernetes objects from release manifest: [unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta1", unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1", unable to recognize "": no matches for kind "StatefulSet" in version "apps/v1beta2"] Helm install fails with error: unable to build kubernetes objects from release manifest: [unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta1", unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1", unable to recognize "": no matches for kind "StatefulSet" in version "apps/v1beta2"] Nov 11, 2019
@ukclivecox
Copy link
Contributor

Strange. Both work for me using a cluster created by:

kind create cluster --image kindest/node:v1.16.2

Only issue is helm is broken on k8s 1.16: see helm/helm#6374 (comment)

@ukclivecox ukclivecox changed the title Helm install fails with error: unable to build kubernetes objects from release manifest: [unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta1", unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1", unable to recognize "": no matches for kind "StatefulSet" in version "apps/v1beta2"] Helm install issues on k8s 1.16.2 Nov 11, 2019
@ukclivecox ukclivecox added the bug label Nov 11, 2019
@ukclivecox
Copy link
Contributor

Closing this as its a Helm v2 issue on Kubernetes 1.16. Fix is referenced in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants