Buildah pods will wait for Istio container to finish then timeout
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"
Hey, you could disable the injection of the Istio sidecar:
- by trait: https://camel.apache.org/camel-k/1.9.x/traits/istio.html
- exclude pods with the matching builder label in Istio configuration (neverInjectSelector afaik)
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
Ok I'll give this a try, ty @anerathil :)