-
Notifications
You must be signed in to change notification settings - Fork 19
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
Bug: Bookinfo pods in crashloop when istio mtls is enabled #331
Comments
Can i work on this? please assign it to me if no one is working on it. |
sure @kon3m. will assign it to you. |
I followed the above steps but unfortunately was not able to reproduce the issue using KinD , is this issue reproducible in KinD @bharath-avesha |
@kon3m can you please check if the nsm init and sidecar containers were injected into the pods in the bookinfo namespace? Those containers have to talk to the nsmgr control plane over tcp on port 5000. If the peer authentication is STRICT, istio sidecar in the bookinfo pod will try to enforce mtls on port 5000 and that will cause a failure because there is no istio sidecar in the nsmgr pods. |
@bharath-avesha yes they are injected into the pods and the pods are in the running state without any restarts. Please let me know if i am doing anything wrong while trying to reproduce this bug. |
📜 Description
Application pods in the bookinfo namespace connected to a slice go into a crashloop when using istio mtls peer authentication in STRICT mode.
👟 Reproduction steps
apiVersion: security.istio.io/v1beta1
kind: PeerAuthentication
metadata:
name: tls-policy
namespace: bookinfo
spec:
mtls:
mode: STRICT
👍 Expected behavior
The app pods should not crash.
👎 Actual Behavior
The app pods go into a crash loop.
🐚 Relevant log output
No response
Version
No response
🖥️ What operating system are you seeing the problem on?
No response
✅ Proposed Solution
No response
👀 Have you spent some time to check if this issue has been raised before?
Code of Conduct
The text was updated successfully, but these errors were encountered: