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

Istio support #2936

Closed
stud0r opened this issue Dec 20, 2022 · 5 comments
Closed

Istio support #2936

stud0r opened this issue Dec 20, 2022 · 5 comments
Assignees
Labels
feature-request 🚀 New feature request

Comments

@stud0r
Copy link

stud0r commented Dec 20, 2022

Is your feature request related to a problem? Please describe.
Based on the reply from #1761, an istio environment is currently not supported.
The described workaround to disable istio for the testkube namespace requires to disable mTLS on each service within the kubernets cluster to be tested.

Describe the solution you'd like
The current issue we have is with the init-container, which requires accesses the s3 bucket. Within an istio setup in the init-container the istio-proxy is not yet ready and outgoing traffic to minIO is not possible.
Is it possible to have the components that access external services only as a "normal" container and not as an init-container?

@stud0r stud0r added the feature-request 🚀 New feature request label Dec 20, 2022
@TheBrunoLopes
Copy link
Member

Hey @stud0r thanks for opening this ticket. You have an interesting use case.
Pinging @dejanzele so he can take a look at this.

@ypoplavs
Copy link
Collaborator

Hello @stud0r,
Testkube doesn't explicitly talk to services in other namespaces so disabling mTLS in TK namespace only should be sufficient. Have you tried it?

@stud0r
Copy link
Author

stud0r commented Dec 21, 2022

Hi @ypoplavs
If we disable istio in the TK namespace have to disable the strict mTLS in the target applications otherwise the connection fails.
I expect that this is also the same behavior with other service mesh like Linkerd

@ypoplavs
Copy link
Collaborator

Apparently, this is a known issue for Istio as per istio/istio#11130
There is a suggestion to run init-container as uid 1337:

securityContext:
  runAsUser: 1337

Could you please try this workaround? Job template can be adjusted using this approach:
https://kubeshop.github.io/testkube/using-testkube/tests/tests-creating#changing-the-default-job-template-used-for-test-execution

@TheBrunoLopes
Copy link
Member

Hey @stud0r did the suggestion for @ypoplavs work for you ?
Closing this issue for now, let us know if this issue persists. We'll reopen it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request 🚀 New feature request
Projects
Status: Done
Development

No branches or pull requests

3 participants