-
Notifications
You must be signed in to change notification settings - Fork 333
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
Outbound connectivity for Init Container #8700
Comments
Can you provide exactly what configuration you used when trying the workarounds in the docs? |
Hey, what is the version of Kuma? |
Hi @jakubdyszkiewicz Will upgrade and check for this. |
|
Will confirm in a fortnight. |
|
Hii @jakubdyszkiewicz / @michaelbeaumont , we upgraded to kuma version 2.5.2 , and tested this use-case , Unfortunately this issue still persists , can you guide us here. |
Removing closed state labels due to the issue being reopened. |
reposting Mike's question. Also I think it should work with:
let me know if it works with that setting |
Hii @slonka , I have tried the solution which you have suggested , its not working too. |
Yeah, can you try:
? |
I have already tested this
Is the above annotations is different from your suggested one ? |
@adarsh-padhi just a note, upgrade to Kubernetes v1.29 and Kuma v2.7 if you can. The k8s native sidecar feature support sidesteps all of this. |
Hii @slonka , I tried the above solution , it is working with port 5432 , but what if its trying to connect to 443 port ? facing issue with 443 port , its not able to connect |
As @michaelbeaumont mentioned if you can upgrade k8s to have native sidecar support that would be great, otherwise you need to list all the ports the container is trying reach. So
|
What happened?
I am facing an issue where a pod with 2 containers (liquibase & app container) is present. The liquibase container is defined as init container which tries to connect to the database . post valid connection it starts the app container.
When we inject the sidecar container , the init container tries to connect to the database URL , but fails to connect as the sidecar container is not up & running .
getting this connection error in the logs
I have used external services & few annotations prescribed in the docs like
but getting same error
we are using kuma-CNI
The text was updated successfully, but these errors were encountered: