-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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
No kind Job is registered for version batch/v1 #6894
Comments
same here with helm 2.16.0
clean bare-metal setup |
Thanks for reporting this. Starting to look into it. As a note, this may affect helm 3 as well |
A community member on the #helm-users slack channel mentioned downgrading to Helm 2.15.2 appears to work around this issue for the time being. This may be due to a breaking change in Kubernetes 1.16's client libraries that affected how we perform schema lookups. |
Ok, I can't duplicate in Helm 3, which is a good thing. Please let me know if anyone sees this in the RC |
So as far as I can tell, we were using the |
Is anyone who is having this issue willing to try out #6897? I especially want to make sure that changing the schema we were referencing doesn't end up causing other issues |
@thomastaylor312 Is there an easy way to build a Tiller docker image for the proposed fix? I'd be happy to try it. |
Yep, if you have Go set up, you can checkout my branch and run |
Actually, I kinda wanted to use the docker image to test an entire installation process (which accepts a docker image). But I will just test it with a single chart we had issues with. |
Totally willing to push a binary and docker image if needed, because you'll need both (as it will have a version incompatibility with your local |
Oh, forgot about the version incompatibility thing. Yeah, that stuff won't work then, because I actually wanted to test it using the Terraform provider. |
It seems to be working with banzaicloud-stable/cadence. |
@sagikazarmark Thank you for testing! I am going to leave the issue and PR open until my morning so people across timezones can give the PR a whirl as well. Really trying to avoid any other regressions from hidden schema stuff |
Closed by #6897. We will be cutting a patch release soon |
Error: no kind "Job" is registered for version "batch/v1" in scheme "k8s.io/kubernetes/pkg/api/legacyscheme/scheme.go:30"
kubectl version
|
@wtx626 This issue has been resolved. It will be released with 2.16.1 |
Is there any estimation when it wil be realeased? |
Any time from now until end of next week. For the time being, please continue to use Helm 2.14.3 or 2.15.2 to work around this issue. |
Thanks for your quick answer!!! |
For those of us where using those versions of helm isn't an option due to it being embedded in other applications, can you give us a better time frame when this will be released? |
@thomastaylor312 all istio charts are failing because of this issue, would you be so kind to release a patch soon? many thanks! |
@thomastaylor312 where is the new release 2.16.1? |
2.16.1 came out yesterday @wtx626! |
2.16.1 on both client and server does not seem to fix the issue.. I still cannot install https://github.com/masterkain/errbit-helm properly (dangling
like it can't remove the job. and for some reason operator says about my mattermost installation:
kinda tired of random breakages :( |
That looks like a separate issue than what's described above. The errors above describe that the job kind was not registered with the API. Your error indicates a job was found but already exists. Can you open a new ticket? Thanks! |
I upgraded to 2.16.1 and still get the same error: fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["helm", "install", "jupyterhub/jupyterhub", "--version=0.9-1743b85", "--name=jupyterhub", "--namespace=cluster", "--timeout=1200", "-f", "deploy/jupyterhub-config.yaml"], "delta": "0:00:10.924091", "end": "2019-11-16 14:09:01.773255", "failed": true, "msg": "non-zero return code", "rc": 1, "start": "2019-11-16 14:08:50.849164", "stderr": "Error: no kind "Job" is registered for version "batch/v1" in scheme "k8s.io/kubernetes/pkg/api/legacyscheme/scheme.go:30"", "stderr_lines": ["Error: no kind "Job" is registered for version "batch/v1" in scheme "k8s.io/kubernetes/pkg/api/legacyscheme/scheme.go:30""], "stdout": "", "stdout_lines": []} UPDATE: |
This is still broken. |
sorry, yes, im getting the same errors, this is still broken and should be re-open @thomastaylor312 |
Can you please demonstrate the issue you are experiencing more clearly? Perhaps opening a new ticket would be helpful. For example, your issue may result in the same error message, but it may be caused by something other than what #6897 resolved (which was due to a breaking change in the Kubernetes client). A more clear explanation would be more helpful for us to help diagnose your issue better. Thanks. |
I ran into this on a 1.16 cluster using 2.16.2 and the latest Minio chart. I can try on a fresh cluster just to verify |
I have been hit by this. I am not sure if this help, but in my case I can confirm that upgrading to 2.16.1 fixed the issue. We are on Kubernetes 1.12.10-gke.17, and in order to get around this bug I had to upgrade both Helm and Tiller to 2.16.1 (ArchLinux's AUR doesn't have a package for 2.16.1, so I had to compile this by hand). |
@thomastaylor312 this is a best solution for this issue, thanks. |
Can anybody confirm this patch has been released on 2.16.1 ? Also, is there any work-around possible (that is known) for 2.16.0 - specifically, to upgrade charts that have K8s job manifests |
…stalling CISE (#115) * Bump image version and helm default version to prevent issu while installing CISE helm/helm#6894
After upgrade helm to 2.16.0 I'm unable to install/upgrade charts with kind Job.
Output of
helm version
:Output of
kubectl version
:Cloud Provider/Platform (AKS, GKE, Minikube etc.):
On-prem vmware CDK
The text was updated successfully, but these errors were encountered: