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 ISTIO fails with no API version batch/V1 from kind:job #42366

Closed
raduart opened this issue Nov 7, 2019 — with docs.microsoft.com · 6 comments
Closed

Comments

Copy link

raduart commented Nov 7, 2019

Customer has AKS cluster with RBAC version 1.14.7
Customer was installing following all steps.
When was trying to install istio from HELM
(https://docs.microsoft.com/en-us/azure/aks/servicemesh-istio-install?pivots=client-operating-system-linux#install-istio-components)
gives an error:
Error: no kind "Job" is registered for version "batch/v1" in scheme "k8s.io/kubernetes/pkg/api/legacyscheme/scheme.go:30"


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@mimckitt
Copy link
Contributor

mimckitt commented Nov 7, 2019

Thanks for the feedback! We are currently investigating and will update you shortly.

@mimckitt
Copy link
Contributor

mimckitt commented Nov 7, 2019

Appears to be the same point in the doc we are seeing in this issue #42128

Closing this and we can work off the other one.

@paulbouwer
Copy link
Member

@raduart @MicahMcKittrick-MSFT

This seems to be an issue in Helm 2.16.0. If I install a 1.14.7 AKS Cluster and use Helm 2.15.2 to install Istio 1.3.3, the issue does not appear. It does appear when deploying Istio with Helm 2.16.0.

I will add a PR that updates the required version of Helm for Istio 1.3.3.

Copy link
Author

raduart commented Nov 11, 2019

Hi @paulbouwer I have repro this issue on customer using 1.3.3 and we got the same problem
a@abc:~/istio-1.3.3$ helm install istio.io/istio --name istio --namespace istio-system --version 1.3.3 \

--set global.controlPlaneSecurityEnabled=true
--set global.mtls.enabled=true
--set grafana.enabled=true --set grafana.security.enabled=true
--set tracing.enabled=true
--set kiali.enabled=true
--set global.defaultNodeSelector."beta.kubernetes.io/os"=linux
Error: no kind "Job" is registered for version "batch/v1" in scheme "k8s.io/kubernetes/pkg/api/legacyscheme/scheme.go:30"
I will repro this installation on another AKS cluster.

But it seems that ISTIO Helm chart is trying to deploy some "Job" that uses "apiversion:batch/v1" that doesn't exists anymore on "k8s.io/kubernetes/pkg/api/legacyscheme/scheme.go:30"

@paulbouwer
Copy link
Member

@raduart - there is a bug in Helm 2.16.0. Please ensure you use Helm 2.15.2.

See the following Issue #6894 - No kind Job is registered for version batch/v1

This is fixed in PR #6897 - fix(kube): Fixes missing API versions and will be available in Helm 2.16.1.

@raduart
Copy link
Author

raduart commented Nov 12, 2019

@paulbouwer Thank you for your feedback. I will try to repro this tomorrow on my customer using helm 2.15.2 version

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

No branches or pull requests

4 participants