Hi All, has anybody deployed successfully Airbyte ...
# replication-troubleshooting
m
Hi All, has anybody deployed successfully Airbyte via Helm charts into a k8s using Istio? - seems that this issue has been over a year and I can’t believe this hasn’t been fixed
a
airbyte is not compatible with istio. I did extensive testing of it this summer - I can add a comment on the forum
👀 1
it might work once the new airbyte protocol version is fully rolled out? but the original protocol isn't proxy compatible - it uses socket open/close as a signal that a source has no new data
m
OMG
a
would also work if you only use sources that always send data - I think that use case worked ok. we use quite a few incremental sources that sometimes have syncs with no records sent - that's where I had issues
m
interesting.. I don’t think my use case has incremental sources for now…
how were you able to deploy it? I can’t even get it to deploy, the bootloader pod dies waiting for a healthcheck
a
glancing back at my notes - looks like I disabled istio injection for the bootloader. Can't say I remember why
m
ah I see.. that might be the reason.
gosh, this is bad 😞
a
the bootloader should be able to work with istio - it just needs to be able to connect to the database.
the few things I found (this all may have changed...but sharing them in in case it still helps) • airbyte-webapp uses http 1.0 (maybe this has changed), so istio needs to be configured to allow that. add the following annotation to that pod:
proxy.istio.io/config: "proxyMetadata: {ISTIO_META_HTTP10: \"1\"}"
• jobs need to wait to start until the isito proxy is up, otherwise they won't be able to communicate with the other airbyte pods (worker or container orchestrator). add the following annotation via an airbyte-worker env var:
"JOB_KUBE_ANNOTATIONS='proxy.istio.io/config={ \"holdApplicationUntilProxyStarts\": true },readiness.status.sidecar.istio.io/applicationPorts=\"8001\",readiness.status.sidecar.istio.io/initialDelaySeconds=45'"
m
this is great info, thanks Adam
trying this..
Adam qq - so for bullet 1 you just add it via
kubectl annotate …
how’s that different from bullet #2? you also mentioned env_var there?
a
you're deploying with the helm chart?
m
yes, I am
a
I did this back before we moved from kustomize to helm, but I bet the chart has a way
so in your values.yaml:
Copy code
worker:
  podAnnotations:
    proxy.istio.io/config: "proxyMetadata: {ISTIO_META_HTTP10: \"1\"}"
should work
whoops, this is webapp, not worker
m
I think that’s the worker… no?
no, webapp and worker are separate pods
m
ah I see, you’re right we want it on the webapp
a
the 2nd one is extraEnv on worker (unless the chart provides an explicit way to set that, but I doubt it)
m
🤔
a
yeah, that's the one
m
ah nice.. let’s see if that works 🤞
hm.. so seems that the bootloader works, but I’m getting a
server returned error: HTTP/1.1 426 Upgrade Required
when I try to load the UI or call any endpoint of the API.. did you see that at some point?
a
I'd try without the http 1.0 annotation?
m
thanks @Adam Bloom - seems that
ISTIO_META_HTTP10
is deprecated now in favor of
PILOT_HTTP10=1
I had to set it up at the istiod level via
istioctl manifest apply --set values.pilot.env.PILOT_HTTP10=1
and also at the
extraEnv
level
after that finally the UI loads..
but now, I can’t add new connections, sources as all of those operations fail - I’m curious what other config did you tweak to make these work?
a
I don't have any further notes to share - sorry! Hopefully there are some clear error logs somewhere to help
m
no worries, thanks again; the info you shared with me was gold 🥇 , I was able to at least move forward and have better understanding of what’s happening there.
I’ll keep updating this thread for future readers.
a
thanks! I hope to get back to this someday, probably once the new airbyte protocol is fully rolled out and I can test syncs again
👍 1