-
Notifications
You must be signed in to change notification settings - Fork 496
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 chart fails to create collector deployment and initContainer image is missing #2269
Comments
@jaronoff97 Hi! Sorry, forgot to respond. We upgraded to helm chart v0.41.0 which should correspond to v0.87.0. I also tried to remove the Instrumentation and Collector CRDs after deleting the Helm deployment. |
You said that deleting and recreating the instrumentation CR made this work... can you re-iterate the current issue for me? I'm a bit lost with this one |
@FredrikAugust, did you have the chance to perform what @jaronoff97 suggested? |
@yuriolisa Hi. I sadly don't remember what I did to fix it, but it works now. I don't know if it's still a problem, sadly. |
closing for now... please re-open if you see this again. Thanks! |
FYI: I ran into the same problem today (initContainer image missing).
After deletion/recreation the instrumentation contains the required image specs
It might be a timing issue (I have deployed operator, collector and instrumentation with argocd as an app-of-apps, without e.g. syncwave adjustments) |
@hfranz-gebit this could because of a bug I fixed here #3074... which is in release 0.108.0, if you upgrade to latest this shouldn't be an issue anymore (i hope!) |
@jaronoff97 Great! I'll test with the new release a few times in a dev environment! |
Component(s)
operator, collector, instrumentation
What happened?
Description
When syncing the helm chart for the operator (latest version: v0.41.0) it fails to create the collector deployment. I've attached logs from the operator — it appears the operator sees nothing wrong.
When I try to delete the
collector
CR from ArgoCD it starts a very strange loop where it will create/destroy sub-resources of the collector very rapidly. Theopentelemetry-opeartor
will create k8s events:When deleting the collector resource manually from kubernetes using kubectl/Lens IDE and re-syncing it with ArgoCD it creates the deployment successfully.
This is only half the problem though, and I'm creating one issue as I assume they're related due to the fix being the same.
The second problem is that when I have the operator and collector running and create a new pod with the autoinstrumentation annotations it will fail to create the pod with the message:
This is once again fixed by deleting and recreating the
instrumentation
CR. After this it works as expected.Expected Result
The deployment should be created automatically, and instrumentation should inject correct image tag.
Kubernetes Version
1.26.5-gke.2100
Operator version
b6c75a
Collector version
0.87.0
Environment information
Environment
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: