-
Notifications
You must be signed in to change notification settings - Fork 546
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
[operator] service "opentelemetry-operator-webhook" not found #1199
Comments
@davgia I think Kubernetes is attempting to convert them using webhooks but because you have disabled webhooks the operator will just fail. I would recommend amending your CRD definition to remove the conversion webhook if its the case that you do not have and never will have v1alpha1 collector resources. You can also just install the CRD directly from here. |
Thank you @jaronoff97 for the input. I am in a clean cluster and I've installed the operator so I guess the CRDs are already at the latest version. I don't particularly like changing the CRD definition manually (I'm automating the procedure with Terraform, this CRD change cannot be done with it I think). I may try to enable webhook with the following strategy (straight from operator documentation):
I will come back to you if this fixes the problem. Last chance is to install cert-manager, but there are scenarios in which I don't have it already installed (and install it just for this seems overkill to me). |
Yep, i believe this is a flavor of #677 actually where you just want the simple CRD installation. I.e. i'm working on it 😓 |
I must clarify that I still need the operator to create the collector (I am also using the auto-instrumentation, but I've removed it from this issue for simplification). Also I will add that I've deployed the operator in other cluster over an old version (0.40.0) that was working fine (configured without webhook) and stopped working (even if the chart is upgraded correctly). |
yeah i believe that would be because of the CRD change. I would recommend setting |
Ok, I will close this. Thank you. |
Hi everyone, I have disabled the webhook as suggested by the documentation. The helm chart installation completes successfully without errors but I do not see pods created after I apply the collector definition. Moreover when I try to list opentelemetrycollector resources from kubectl I receive the following error:
Helm chart:
Collector definition:
Can someone help me to pinpoint the error or the misconfiguration?
Thanks in advance
The text was updated successfully, but these errors were encountered: