-
Notifications
You must be signed in to change notification settings - Fork 102
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
Error while watching kubernetes events: json: cannot unmarshal string into Go value of type v1beta1.IngressStatus
#73
Comments
Which version of kubernetes are you running ? |
Do you have an ingress configured manually through some other tool somewhere ? I can't spot an ingress in your config but that seems to be what kcm is chocking on |
Also do ensure your version of kubernetes and the kubectl proxy container for kcm match |
The ingresses are configured here: https://github.com/livegrep/livegrep.com/blob/master/kubernetes/frontend.yaml#L82-L111 I'm on 1.6.2. Do the |
See the Dockerfile for the proxy here, it's really tiny and you should be able to build one for 1.6.2 easily: https://github.com/PalmStoneGames/kube-cert-manager/blob/v0.3.1/kubectl-proxy/Dockerfile |
Cool, I'll give that a try probably this evening when I'm at the right computer. It'd be nice if there were a way for this setup to flag version mismatches and fail gracefully. |
First recommendation I'd have is to check if you have any extra ingresses, if so delete them. And otherwise, recreate the ones you have. |
I added some logging to the with this diff:
we get
Upon further investigation, though, the certs are still >1w from expiry, which is k-c-m's cutoff, so it may in fact be recovering fine from those errors, and will renew in a few days. Assuming that's the case, I think there may still be two arguable bugs, and I'm happy to open separate tickets if desired:
|
The certs in question just passed 1w to expiry, and were renewed correctly. So I think everything is working normally, although the issues outlined in #73 (comment) are still valid in my judgment. |
I have noted these errors message too, in a 1.5 cluster. |
I've got a kube-cert-manager instance running in GKE using the configuration available at https://github.com/livegrep/livegrep.com which seems to be stuck; I have two certs approaching expiry, and the kcm isn't updating them, and the logs are full of spew like this:
I tried bumping to 0.4.0 (built from source) with no success. Any suggestions or debugging advice?
The text was updated successfully, but these errors were encountered: