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

Buildah pods will wait for Istio container to finish then timeout #3408

Closed
barius opened this issue Jun 30, 2022 · 2 comments · Fixed by #4746
Closed

Buildah pods will wait for Istio container to finish then timeout #3408

barius opened this issue Jun 30, 2022 · 2 comments · Fixed by #4746
Labels
kind/bug Something isn't working

Comments

@barius
Copy link

barius commented Jun 30, 2022

When Istio auto-injection is enabled, the camel-k builder always wait for the Istio container to complete (which will never happen), and triggers the default 5 min timeout (though Buildah finished in around 1~2 min and after the timeout the build still succeeds).

Using #3309 built on a M1 Max Macbook, with self-built arm64 version of quarkus-mandrel (that does not seems the culprit?), Docker Desktop 4.9. Haven't tested other builds yet.
My install command is

kamel install --build-publish-strategy=Buildah --registry host.docker.internal:15000 --registry-insecure --operator-image host.docker.internal:15000/bariusss/camel-k:1.10.0-SNAPSHOT --maven-repository "http://nexus.nexus.svc.cluster.local/repository/maven-central/@id=nexus@name=nexus@mirrorOf=central"
@barius barius mentioned this issue Jun 30, 2022
5 tasks
@squakez squakez added kind/bug Something isn't working builder/buildah labels Jun 30, 2022
@anerathil
Copy link

Hey, you could disable the injection of the Istio sidecar:

If you want to keep the injection I think you can I think you can also configure Istio to enforce waiting for the sidecar eg. by using holdApplicationUntilProxyStarts

Cheers

@barius
Copy link
Author

barius commented Aug 1, 2022

Ok I'll give this a try, ty @anerathil :)

@squakez squakez linked a pull request Sep 14, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants